Skip to content

Commit

Permalink
FIX: Missed value set, thanks to the new test :)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Dec 16, 2022
1 parent a29f533 commit a7a486e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion migas_server/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from migas_server import types

@pytest.mark.parametrize('names', 'val', [
@pytest.mark.parametrize('names,val', [
(['running', 'R'], 'R'),
(['completed', 'C'], 'C'),
(['failed', 'F'], 'F'),
Expand Down
2 changes: 1 addition & 1 deletion migas_server/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Status(Enum):
F = 'F'
failed = strawberry.enum_value('F')
S = 'S'
suspended = strawberry.enum_value('suspended')
suspended = strawberry.enum_value('S')

# Deprecations, to be removed in 0.4.0
pending = strawberry.enum_value('R', deprecation_reason="Pending is now running")
Expand Down

0 comments on commit a7a486e

Please sign in to comment.