Skip to content

Commit

Permalink
Faster tango tests (#684)
Browse files Browse the repository at this point in the history
* speed up test_tango_signals by removing some parametrization

remove unnecessary sleep from test, fix f string formatting

* make AttributeData dataclass for test_tango_signals.py

* Loop over use_proxy in tango tests instead of using parametrize
  • Loading branch information
jsouter authored Dec 9, 2024
1 parent d70234f commit f7126df
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 358 deletions.
2 changes: 1 addition & 1 deletion src/ophyd_async/tango/core/_tango_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async def _write():
raise TimeoutError(f"{self._name} attr put failed: Timeout") from te
except DevFailed as de:
raise RuntimeError(
f"{self._name} device" f" failure: {de.args[0].desc}"
f"{self._name} device failure: {de.args[0].desc}"
) from de

else:
Expand Down
Loading

0 comments on commit f7126df

Please sign in to comment.