summaryrefslogtreecommitdiff
path: root/scripts/cli/base_interfaces_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/cli/base_interfaces_test.py')
-rw-r--r--scripts/cli/base_interfaces_test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/cli/base_interfaces_test.py b/scripts/cli/base_interfaces_test.py
index 6c558795a..180a11bfb 100644
--- a/scripts/cli/base_interfaces_test.py
+++ b/scripts/cli/base_interfaces_test.py
@@ -15,7 +15,6 @@
import os
import unittest
-from vyos.config import Config
from vyos.configsession import ConfigSession, ConfigSessionError
from netifaces import ifaddresses, AF_INET, AF_INET6
from vyos.validate import is_intf_addr_assigned, is_ipv6_link_local
@@ -25,8 +24,6 @@ class BasicInterfaceTest:
class BaseTest(unittest.TestCase):
def setUp(self):
self.session = ConfigSession(os.getpid())
- env = self.session.get_session_env()
- self.config = Config(session_env=env)
self._test_addr = ['192.0.2.1/25', '2001:db8:1::ffff/64']
self._test_mtu = False