summaryrefslogtreecommitdiff
path: root/scripts/cli/test_system_login.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-26 07:27:52 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-26 07:32:26 +0100
commitf1beefe681240113c6ec856b01e55dc646f52294 (patch)
treea58d4d6051476984a8ac77269363b791717605d2 /scripts/cli/test_system_login.py
parent74888b22f92abf7f10c8b0baddf815fb5d462897 (diff)
downloadvyos-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_system_login.py')
-rwxr-xr-xscripts/cli/test_system_login.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/cli/test_system_login.py b/scripts/cli/test_system_login.py
index 4abbcaf20..3c4b1fa28 100755
--- a/scripts/cli/test_system_login.py
+++ b/scripts/cli/test_system_login.py
@@ -19,7 +19,6 @@ import re
import unittest
from subprocess import Popen, PIPE
-from vyos.config import Config
from vyos.configsession import ConfigSession, ConfigSessionError
import vyos.util as util
@@ -29,8 +28,6 @@ users = ['vyos1', 'vyos2']
class TestSystemLogin(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 individual users from configuration