summaryrefslogtreecommitdiff
path: root/scripts/cli/test_system_nameserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cli/test_system_nameserver.py')
-rwxr-xr-xscripts/cli/test_system_nameserver.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/cli/test_system_nameserver.py b/scripts/cli/test_system_nameserver.py
index 07fc9494b..9040be072 100755
--- a/scripts/cli/test_system_nameserver.py
+++ b/scripts/cli/test_system_nameserver.py
@@ -18,7 +18,6 @@ import os
import re
import unittest
-from vyos.config import Config
from vyos.configsession import ConfigSession, ConfigSessionError
import vyos.util as util
@@ -34,8 +33,6 @@ def get_name_servers():
class TestSystemNameServer(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 existing name servers