jenkins-bot merged this change.

View Change

Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
[bugfix] Fix script_tests failing assert

Change-Id: I44ee792ece5cd2c4cc721cb0fe094df98906d8f7
---
M tests/script_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/script_tests.py b/tests/script_tests.py
index cd85361..dac48de 100644
--- a/tests/script_tests.py
+++ b/tests/script_tests.py
@@ -297,7 +297,7 @@
if stdout is not None and out_result:
self.assertIn(stdout, out_result)
else:
- self.assertIsNone(out_result)
+ self.assertIsEmpty(out_result)

self.assertIn(result['exit_code'], exit_codes)
sys.stdout.flush()

To view, visit change 582936. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I44ee792ece5cd2c4cc721cb0fe094df98906d8f7
Gerrit-Change-Number: 582936
Gerrit-PatchSet: 2
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: jenkins-bot (75)