diff --git a/pype/tests/README.md b/pype/tests/README.md new file mode 100644 index 0000000000..c05166767c --- /dev/null +++ b/pype/tests/README.md @@ -0,0 +1,4 @@ +Tests for Pype +-------------- +Trigger by: + `pype test --pype` \ No newline at end of file diff --git a/pype/tests/test_lib_restructuralization.py b/pype/tests/test_lib_restructuralization.py new file mode 100644 index 0000000000..e167c5f555 --- /dev/null +++ b/pype/tests/test_lib_restructuralization.py @@ -0,0 +1,13 @@ +# Test for backward compability of restructure of lib.py into lib library +# #664 +# Contains simple imports that should still work + + +def test_backward_compatibility(printer): + printer("Test if imports still work") + try: + from pype.lib import filter_pyblish_plugins + from pype.lib import execute_hook + from pype.lib import PypeHook + except ImportError as e: + raise \ No newline at end of file