Ruff formatting
This commit is contained in:
parent
35efba19b8
commit
f52ce85b3e
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,8 @@ def test_validate_command_forbidden(cmd_name):
|
|||
|
||||
# As an argument (case-insensitive)
|
||||
with pytest.raises(
|
||||
StitcherValidationError, match=f"Forbidden element '{cmd_name.upper()}' detected"
|
||||
StitcherValidationError,
|
||||
match=f"Forbidden element '{cmd_name.upper()}' detected",
|
||||
):
|
||||
validate_command(["safe-command", cmd_name.upper()])
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from openflexure_microscope_server.utilities import (
|
|||
|
||||
|
||||
def test_make_name_safe_basic():
|
||||
|
||||
"""Test basic functionality of make_name_safe."""
|
||||
assert make_name_safe("normal_name") == "normal_name"
|
||||
assert make_name_safe("name with spaces") == "name_with_spaces"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue