[tests] fix syntax error

This commit is contained in:
tobi-wan-kenobi 2020-12-27 14:52:45 +01:00
parent 960792b2e5
commit af95b2e276

View file

@ -55,7 +55,7 @@ def test_importerror(mocker):
module = core.module.load(module_name="test", config=config) module = core.module.load(module_name="test", config=config)
assert module.__class__.__name__ == "Error" assert module.__class__.__name__ == "Error"
assert module.widget().full_text() == "test: some-error" or assert module.widget().full_text() == "test: some-error" or \
module.widget().full_text() == "test: unable to load module" module.widget().full_text() == "test: unable to load module"