def test_fake_instrument(): fake = FakeInstrument() fake.write("Testing") assert fake.read() == "Testing" assert fake.read() == "" assert fake.values("5") == [5]
class Fake(FakeInstrument): x = FakeInstrument.control( "", set_command, "", dynamic=dynamic, )