made __repr__ of Fake* more like the real thing

This commit is contained in:
2025-12-03 10:50:33 +01:00
parent d70274af3b
commit 94936dcbd2
+4 -1
View File
@@ -80,7 +80,7 @@ class FakeAcquisition(BaseAcquisition):
def __repr__(self):
return typename(self)
return repr(self.client)
@@ -107,6 +107,9 @@ class FakeClient:
def power_on(self, *args, **kwargs):
print("power on:", args, kwargs)
def __repr__(self):
return f"Fake DAQ (last run: {self.run_number})"
class FakeConfig: