Repository: PrismPipeline/QuiltiX (language: python)

Issue:
Move examples out of test folder
Currently our examples are located within the test folder, which is probably not the best idea. We should probably either move this into the distribution or just into the root of the repo.


Discussion / hints:

Fix patch:
diff --git a/tests/examples/README.md b/examples/README.md
similarity index 100%
rename from tests/examples/README.md
rename to examples/README.md
diff --git a/tests/examples/create_all_available_nodes.py b/examples/create_all_available_nodes.py
similarity index 100%
rename from tests/examples/create_all_available_nodes.py
rename to examples/create_all_available_nodes.py
diff --git a/tests/examples/create_standard_surface.py b/examples/create_standard_surface.py
similarity index 100%
rename from tests/examples/create_standard_surface.py
rename to examples/create_standard_surface.py
diff --git a/tests/examples/load_amd_copper_mtlx.py b/examples/load_amd_copper_mtlx.py
similarity index 100%
rename from tests/examples/load_amd_copper_mtlx.py
rename to examples/load_amd_copper_mtlx.py
diff --git a/tests/examples/load_standard_surface_mtlx.py b/examples/load_standard_surface_mtlx.py
similarity index 100%
rename from tests/examples/load_standard_surface_mtlx.py
rename to examples/load_standard_surface_mtlx.py


Test patch:
diff --git a/tests/test_node_creation.py b/tests/test_node_creation.py
index bed61b9..26b763a 100644
--- a/tests/test_node_creation.py
+++ b/tests/test_node_creation.py
@@ -1,5 +1,5 @@
 from examples.create_all_available_nodes import create_all_available_nodes
-from tests.examples.create_standard_surface import create_standard_surface
+from examples.create_standard_surface import create_standard_surface
 
 
 def test_create_all_available_nodes(qtbot):