[tests] fix module load test for python 3.6 and further
This commit is contained in:
parent
73b071edb0
commit
960792b2e5
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ def test_importerror(mocker):
|
|||
module = core.module.load(module_name="test", config=config)
|
||||
|
||||
assert module.__class__.__name__ == "Error"
|
||||
assert module.widget().full_text() == "test: some-error"
|
||||
assert module.widget().full_text() == "test: some-error" or
|
||||
module.widget().full_text() == "test: unable to load module"
|
||||
|
||||
|
||||
def test_loadvalid_module():
|
||||
|
|
Loading…
Reference in a new issue