summaryrefslogtreecommitdiff
path: root/src/tests/test_config_parser.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-19 12:09:58 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-19 12:09:58 +0200
commitd1592875cadcda61b04cb479a5becebbae08d0d4 (patch)
treed1b3d44bfc527a43dcfb1a01c4b7c9e4d7bd30ca /src/tests/test_config_parser.py
parent85cc735b05be109e6daa5403efa4122b8b6e79d2 (diff)
downloadvyos-1x-d1592875cadcda61b04cb479a5becebbae08d0d4.tar.gz
vyos-1x-d1592875cadcda61b04cb479a5becebbae08d0d4.zip
unittests: cleanup unused imports
Diffstat (limited to 'src/tests/test_config_parser.py')
-rw-r--r--src/tests/test_config_parser.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tests/test_config_parser.py b/src/tests/test_config_parser.py
index e47770a7f..5b922e2dd 100644
--- a/src/tests/test_config_parser.py
+++ b/src/tests/test_config_parser.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018 VyOS maintainers and contributors
+# Copyright (C) 2018-2020 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -13,17 +13,14 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-#
import os
import tempfile
import unittest
-from unittest import TestCase, mock
+from unittest import TestCase
import vyos.configtree
-
class TestConfigParser(TestCase):
def setUp(self):
with open('tests/data/config.valid', 'r') as f: