Add failing unit test for sangaboard version before v1
This commit is contained in:
parent
70e052fa21
commit
797dda3514
2 changed files with 21 additions and 1 deletions
|
|
@ -44,12 +44,12 @@ class SangaboardThing(BaseStage):
|
|||
"""
|
||||
self.sangaboard_kwargs = copy(kwargs)
|
||||
self.sangaboard_kwargs["port"] = port
|
||||
self._sangaboard_lock = threading.RLock()
|
||||
super().__init__(**kwargs)
|
||||
|
||||
def __enter__(self) -> None:
|
||||
"""Connect to the sangaboard when the Thing context manager is opened."""
|
||||
self._sangaboard = sangaboard.Sangaboard(**self.sangaboard_kwargs)
|
||||
self._sangaboard_lock = threading.RLock()
|
||||
with self.sangaboard() as sb:
|
||||
sb.query("blocking_moves false")
|
||||
self.check_firmware()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue