diff --git a/tangostationcontrol/tangostationcontrol/devices/snmp_device.py b/tangostationcontrol/tangostationcontrol/devices/snmp_device.py index 3ee8c6dfd6baaca62f936972f7bf336c71412c21..b5bfd8395a75a9831bdaaf47fb17bbfdf947c36a 100644 --- a/tangostationcontrol/tangostationcontrol/devices/snmp_device.py +++ b/tangostationcontrol/tangostationcontrol/devices/snmp_device.py @@ -15,7 +15,6 @@ from tangostationcontrol.common.entrypoint import entry from tangostationcontrol.devices.lofar_device import lofar_device -from tango import DeviceProxy from tango.server import device_property, command import os diff --git a/tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py b/tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py index de2f78383955cd9c6c443cbe4158b78f20c4ff73..6abf0f52e6ccda67f5ba482a8c12f811d5421fcb 100644 --- a/tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py +++ b/tangostationcontrol/tangostationcontrol/test/clients/test_mib_loading.py @@ -23,7 +23,7 @@ class TestMibLoading(base.TestCase): """ - abs_dir = path.dirname(__file__) + self.rel_dir + abs_dir = path.dirname(__file__) + "/" + self.rel_dir loader = mib_loader(abs_dir) loader.load_pymib(self.mib) diff --git a/tangostationcontrol/tangostationcontrol/test/devices/test_snmp_device.py b/tangostationcontrol/tangostationcontrol/test/devices/test_snmp_device.py index 5ed7a3af9b93be10b6e1d36869c1433678f1828c..6289b2a33162031b01998aeeb84cc2119fd78860 100644 --- a/tangostationcontrol/tangostationcontrol/test/devices/test_snmp_device.py +++ b/tangostationcontrol/tangostationcontrol/test/devices/test_snmp_device.py @@ -27,7 +27,7 @@ class TestSNMPDevice(base.TestCase): # Patch DeviceProxy to allow making the proxies during initialisation # that we otherwise avoid using - for device in [snmp_device, lofar_device]: + for device in [lofar_device]: proxy_patcher = mock.patch.object( device, 'DeviceProxy') proxy_patcher.start()