Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pwuts committed Jun 22, 2023
1 parent 6f8a0d3 commit ce10169
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def test_command_creation(self):
assert cmd.name == "example"
assert cmd.description == "Example command"
assert cmd.method == self.example_command_method
assert str(cmd) == "example: Example command, params: (arg1: int, arg2: Optional[str])"
assert (
str(cmd)
== "example: Example command, params: (arg1: int, arg2: Optional[str])"
)

def test_command_call(self):
"""Test that Command(*args) calls and returns the result of method(*args)."""
Expand Down

0 comments on commit ce10169

Please sign in to comment.