Update buildroot 2020.02.01 (#622)
* Update buildroot 2020.02.01 Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix LN * Fix wpa Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix lint Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix-network Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Fix script Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
@@ -7,7 +7,8 @@ class TestPythonTreq(TestPythonPackageBase):
|
||||
def run_sample_scripts(self):
|
||||
cmd = self.interpreter + " sample_python_treq.py"
|
||||
output, exit_code = self.emulator.run(cmd, timeout=20)
|
||||
self.assertIn("Connection refused", output[0])
|
||||
refuse_msgs = [1 for l in output if "Connection refused" in l]
|
||||
self.assertGreater(sum(refuse_msgs), 0)
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user