summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/snmptest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/snmptest.py')
-rw-r--r--tests/topotests/lib/snmptest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/lib/snmptest.py b/tests/topotests/lib/snmptest.py
index e6b140a0e2..fe5ff28979 100644
--- a/tests/topotests/lib/snmptest.py
+++ b/tests/topotests/lib/snmptest.py
@@ -30,7 +30,7 @@ Basic usage instructions:
* see tests/topotest/simple-snmp-test/test_simple_snmp.py for example
"""
-from topolog import logger
+from lib.topolog import logger
class SnmpTester(object):
@@ -93,7 +93,7 @@ class SnmpTester(object):
return tokens[0].split(".", 1)[1]
def _parse_multiline(self, snmp_output):
- results = snmp_output.strip().split("\r\n")
+ results = snmp_output.strip().split("\n")
out_dict = {}
out_list = []