diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-24 14:03:45 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-24 14:03:45 +0100 |
commit | a7cd2bc683ca03ab2787879d3db06e8d5d3fd5ca (patch) | |
tree | f5184a6e0c5fd0fb130b00acf74ff70102dad1fb /scripts | |
parent | 47c8f35dd476d2730aad3990e63240af1c7027cf (diff) | |
download | vyos-1x-a7cd2bc683ca03ab2787879d3db06e8d5d3fd5ca.tar.gz vyos-1x-a7cd2bc683ca03ab2787879d3db06e8d5d3fd5ca.zip |
nameserver: fix indent
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cli/test_system_nameserver.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/cli/test_system_nameserver.py b/scripts/cli/test_system_nameserver.py index cab867983..a07ad31ad 100755 --- a/scripts/cli/test_system_nameserver.py +++ b/scripts/cli/test_system_nameserver.py @@ -25,13 +25,11 @@ import vyos.util as util RESOLV_CONF = '/etc/resolv.conf' test_servers = ['192.0.2.10', '2001:db8:1::100'] - base_path = ['system', 'name-server'] - def get_name_servers(): - resolv_conf = util.read_file(RESOLV_CONF) - return re.findall(r'\n?nameserver\s+(.*)', resolv_conf) + resolv_conf = util.read_file(RESOLV_CONF) + return re.findall(r'\n?nameserver\s+(.*)', resolv_conf) class TestSystemNameServer(unittest.TestCase): def setUp(self): |