mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-16 18:56:02 +00:00
test: format test suite
This commit is contained in:
@@ -1 +1 @@
|
||||
# Unit tests for command module
|
||||
# Unit tests for command module
|
||||
|
||||
@@ -529,4 +529,4 @@ class TestEmptyAndEdgeInputs:
|
||||
|
||||
# Should yield CommandNotFoundError (no such command registered)
|
||||
assert len(results) == 1
|
||||
assert results[0].error is not None
|
||||
assert results[0].error is not None
|
||||
|
||||
@@ -197,6 +197,7 @@ class TestCommandOperatorBase:
|
||||
op = TestOperator(None)
|
||||
# Should not raise
|
||||
import asyncio
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(op.initialize())
|
||||
|
||||
def test_execute_is_abstract(self):
|
||||
@@ -299,4 +300,4 @@ class TestMultipleOperators:
|
||||
yield None
|
||||
|
||||
assert AdminOperator.lowest_privilege == 2
|
||||
assert SubOperator.lowest_privilege == 1
|
||||
assert SubOperator.lowest_privilege == 1
|
||||
|
||||
Reference in New Issue
Block a user