Fix broken test
This commit is contained in:
@@ -377,7 +377,7 @@ def testAboutBox(qtbot, monkeypatch, nwFuncTemp, nwTemp):
|
|||||||
assert msgAbout.pageNotes.document().characterCount() > 100
|
assert msgAbout.pageNotes.document().characterCount() > 100
|
||||||
assert msgAbout.pageLicense.document().characterCount() > 100
|
assert msgAbout.pageLicense.document().characterCount() > 100
|
||||||
|
|
||||||
msgAbout.mainConf.guiLang = "whatever"
|
msgAbout.mainConf.assetPath = "whatever"
|
||||||
|
|
||||||
msgAbout._fillNotesPage()
|
msgAbout._fillNotesPage()
|
||||||
assert msgAbout.pageNotes.toPlainText() == "Error loading release notes text ..."
|
assert msgAbout.pageNotes.toPlainText() == "Error loading release notes text ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user