summaryrefslogtreecommitdiff
path: root/scripts/cli/test_system_login.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-09 13:02:40 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-09 13:02:40 +0100
commitc033c77b487caeb9505217232add571f362f7afe (patch)
tree3beac2494ced2d9d5029679d4a670c6e1dc4480b /scripts/cli/test_system_login.py
parent6c2a6e0153ea36e5690661f0dec634322352f21a (diff)
downloadvyos-1x-c033c77b487caeb9505217232add571f362f7afe.tar.gz
vyos-1x-c033c77b487caeb9505217232add571f362f7afe.zip
all: delete session in tearDown()
Diffstat (limited to 'scripts/cli/test_system_login.py')
-rwxr-xr-xscripts/cli/test_system_login.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cli/test_system_login.py b/scripts/cli/test_system_login.py
index aa26b3bec..88e5695e7 100755
--- a/scripts/cli/test_system_login.py
+++ b/scripts/cli/test_system_login.py
@@ -37,6 +37,7 @@ class TestSystemLogin(unittest.TestCase):
self.session.delete(base_path + ['user', user])
self.session.commit()
+ del self.session
def test_user(self):
""" Check if user can be created and we can SSH to localhost """