Skip to content

Commit

Permalink
Add testing
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Nov 29, 2024
1 parent 3216da2 commit 324a006
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,15 @@ def test_get_example_required_minimum_dpf_version(tmp_path):
p = tmp_path / "test_example_version_1.py"
p.write_text(example_header)
assert examples.get_example_required_minimum_dpf_version(p) == "0.0"


def test_download_easy_statistics():
assert os.path.exists(examples.download_easy_statistics(return_local_path=True))


def test_download_average_filter_plugin():
assert os.path.exists(examples.download_average_filter_plugin(return_local_path=True))


def test_download_gltf_plugin():
assert os.path.exists(examples.download_gltf_plugin(return_local_path=True))

0 comments on commit 324a006

Please sign in to comment.