made __repr__ of Fake* more like the real thing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user