Skip to content

Commit de5fe28

Browse files
Potential fix for pull request finding 'An assert statement has a side-effect'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 3cad879 commit de5fe28

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_workflows.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1875,7 +1875,8 @@ def test_remove_missing_returns_false(self, project_dir):
18751875
from specify_cli.workflows.catalog import StepRegistry
18761876

18771877
registry = StepRegistry(project_dir)
1878-
assert registry.remove("nonexistent") is False
1878+
removed = registry.remove("nonexistent")
1879+
assert removed is False
18791880

18801881
def test_list(self, project_dir):
18811882
from specify_cli.workflows.catalog import StepRegistry

0 commit comments

Comments
 (0)