diff options
Diffstat (limited to 'lab_control/test')
-rw-r--r-- | lab_control/test/__init__.py | 0 | ||||
-rw-r--r-- | lab_control/test/interfaces_test.py | 11 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lab_control/test/__init__.py b/lab_control/test/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lab_control/test/__init__.py diff --git a/lab_control/test/interfaces_test.py b/lab_control/test/interfaces_test.py new file mode 100644 index 0000000..bf9006b --- /dev/null +++ b/lab_control/test/interfaces_test.py @@ -0,0 +1,11 @@ +import pytest +from lab_control.oscilloscope import Oscilloscope +from lab_control.function_generator import FunctionGenerator + +def test_oscilloscopeInterface(): + with pytest.raises(Exception): + uut = Oscilloscope() + +def test_functionGeneratorInterface(): + with pytest.raises(Exception): + uut = FunctionGenerator() |