summaryrefslogtreecommitdiff
path: root/src/leap/eip/tests/test_checks.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-12 08:01:26 +0900
committerkali <kali@leap.se>2012-09-12 08:01:26 +0900
commit4304ef6107a97d9d03cb626d4a7fcbd5afc1a2c9 (patch)
treed5f23e98a6ca7c39e9d2bf0010c25756db4ca3ea /src/leap/eip/tests/test_checks.py
parent44812233d76f683b63f09901334b964242d238f4 (diff)
pep8
Diffstat (limited to 'src/leap/eip/tests/test_checks.py')
-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):