diff --git a/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py b/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py index 04350510..a049cde0 100644 --- a/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py +++ b/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py @@ -95,6 +95,12 @@ def example_circuit(): return num_errors def test_example_circuit(): + import os + path = os.path.dirname(os.path.realpath(__file__)) + import sys + sys.path.insert(0,os.path.abspath(os.path.join(path, '../../../python'))) + import SiEPIC + assert example_circuit() == 0 if __name__ == "__main__":