summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--lab_control/__init__.py3
-rw-r--r--lab_control/function_generator.py (renamed from src/lab-control/function_generator.py)0
-rw-r--r--lab_control/oscilloscope.py (renamed from src/lab-control/oscilloscope.py)0
-rw-r--r--lab_control/test/__init__.py0
-rw-r--r--lab_control/test/interfaces_test.py11
6 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..eeb8a6e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+**/__pycache__
diff --git a/lab_control/__init__.py b/lab_control/__init__.py
new file mode 100644
index 0000000..b8c59c6
--- /dev/null
+++ b/lab_control/__init__.py
@@ -0,0 +1,3 @@
+#from os.path import dirname, abspath
+
+#ROOT_DIR = dirname(abspath(__file__))
diff --git a/src/lab-control/function_generator.py b/lab_control/function_generator.py
index b7b5266..b7b5266 100644
--- a/src/lab-control/function_generator.py
+++ b/lab_control/function_generator.py
diff --git a/src/lab-control/oscilloscope.py b/lab_control/oscilloscope.py
index a09f8a0..a09f8a0 100644
--- a/src/lab-control/oscilloscope.py
+++ b/lab_control/oscilloscope.py
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()