Skip to content

Commit

Permalink
test: update test case with latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Jan 31, 2021
1 parent d7cf318 commit 36920ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/commands_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ def test_broken_plugin(testbot):
)
assert "import borken # fails" in testbot.pop_message()
assert "as it did not load correctly." in testbot.pop_message()
assert (
"Error: Broken failed to activate: "
"'NoneType' object has no attribute 'is_activated'"
) in testbot.pop_message()
assert "Plugins reloaded." in testbot.pop_message()
finally:
rmtree(tempd)
Expand Down

0 comments on commit 36920ef

Please sign in to comment.