From b6086681007ce61ecbc9a2f5a514dbcfb956f49a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 29 Nov 2020 17:54:16 +0100 Subject: smoketest: dhcp-relay: T3095: remove non referenced function from unittest --- smoketest/scripts/cli/test_service_dhcp-relay.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'smoketest/scripts/cli') diff --git a/smoketest/scripts/cli/test_service_dhcp-relay.py b/smoketest/scripts/cli/test_service_dhcp-relay.py index d56f6aa16..4b020db72 100755 --- a/smoketest/scripts/cli/test_service_dhcp-relay.py +++ b/smoketest/scripts/cli/test_service_dhcp-relay.py @@ -29,17 +29,9 @@ PROCESS_NAME = 'dhcrelay' RELAY_CONF = '/run/dhcp-relay/dhcrelay.conf' base_path = ['service', 'dhcp-relay'] -def get_config_value(key): - tmp = read_file(SSHD_CONF) - tmp = re.findall(f'\n?{key}\s+(.*)', tmp) - return tmp - class TestServiceDHCPRelay(unittest.TestCase): def setUp(self): self.session = ConfigSession(os.getpid()) - # ensure we can also run this test on a live system - so lets clean - # out the current configuration :) - self.session.delete(base_path) def tearDown(self): self.session.delete(base_path) -- cgit v1.2.3