beremiz

ff0c18be4a8b
Parents 724722c03db4
Children 925ea35edc2c
clean sys.argv, because if test is running from pytest
sys.argv contains string "pytest --timeout 0 ./tests/tools"
Beremiz application parses it and throws exception.
--- a/tests/tools/test_application.py Sat Sep 16 21:19:19 2017 +0300
+++ b/tests/tools/test_application.py Sat Sep 16 21:22:06 2017 +0300
@@ -148,6 +148,7 @@
def testStartUp(self):
"""Checks whether the app starts and finishes correctly"""
+ sys.argv = [""]
self.StartApp()
self.FinishApp()