diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-26 07:27:52 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-26 07:32:26 +0100 |
commit | f1beefe681240113c6ec856b01e55dc646f52294 (patch) | |
tree | a58d4d6051476984a8ac77269363b791717605d2 /scripts/cli/test_service_dns_dynamic.py | |
parent | 74888b22f92abf7f10c8b0baddf815fb5d462897 (diff) | |
download | vyos-1x-f1beefe681240113c6ec856b01e55dc646f52294.tar.gz vyos-1x-f1beefe681240113c6ec856b01e55dc646f52294.zip |
cli: remove superfluous imports (we never use Config())
Every test hat a Config() instance but it was never referenced. It has been
introduced by simple means of copy/pasting the first nameserver test.
Diffstat (limited to 'scripts/cli/test_service_dns_dynamic.py')
-rwxr-xr-x | scripts/cli/test_service_dns_dynamic.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/cli/test_service_dns_dynamic.py b/scripts/cli/test_service_dns_dynamic.py index 21d52be18..e6205cf8b 100755 --- a/scripts/cli/test_service_dns_dynamic.py +++ b/scripts/cli/test_service_dns_dynamic.py @@ -20,7 +20,6 @@ import unittest from getpass import getuser from psutil import process_iter -from vyos.config import Config from vyos.configsession import ConfigSession, ConfigSessionError from vyos.util import read_file @@ -47,8 +46,6 @@ def check_process(): class TestServiceDDNS(unittest.TestCase): def setUp(self): self.session = ConfigSession(os.getpid()) - env = self.session.get_session_env() - self.config = Config(session_env=env) def tearDown(self): # Delete DDNS configuration |