summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/eip/tests/test_checks.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/eip/tests/test_checks.py b/src/leap/eip/tests/test_checks.py
index 1edcdfb2..caaa371f 100644
--- a/src/leap/eip/tests/test_checks.py
+++ b/src/leap/eip/tests/test_checks.py
@@ -178,8 +178,10 @@ class EIPCheckTest(BaseLeapTest):
checker = eipchecks.EIPConfigChecker()
with patch('leap.eip.checks.open', create=True) as mock_open:
with self.assertRaises(eipexceptions.NoDefaultInterfaceFoundError):
- mock_open.return_value = \
- StringIO("Iface\tDestination Gateway\tFlags\tRefCntd\tUse\tMetric\tMask\tMTU\tWindow\tIRTT")
+ mock_open.return_value = StringIO(
+ "Iface\tDestination Gateway\t"
+ "Flags\tRefCntd\tUse\tMetric\t"
+ "Mask\tMTU\tWindow\tIRTT")
checker.get_default_interface_gateway()
def test_ping_gateway_fail(self):