1 2 3 4 5 6 7 8 9 10 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()