diff options
author | Paride Legovini <paride.legovini@canonical.com> | 2019-01-30 15:38:56 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-01-30 15:38:56 +0000 |
commit | 94a64529dccebd8fe8c7969370b8696e46023fbd (patch) | |
tree | 24028bb1e5f2ff24a4f605887381c14659f02a67 /tests/unittests/test_distros/test_netconfig.py | |
parent | 8ee294d567c071fff1f9567e968ba73602308192 (diff) | |
download | vyos-cloud-init-94a64529dccebd8fe8c7969370b8696e46023fbd.tar.gz vyos-cloud-init-94a64529dccebd8fe8c7969370b8696e46023fbd.zip |
Resolve flake8 comparison and pycodestyle over-ident issues
Fixes:
- flake8: use ==/!= to compare str, bytes, and int literals
- pycodestyle: E117 over-indented
Diffstat (limited to 'tests/unittests/test_distros/test_netconfig.py')
-rw-r--r-- | tests/unittests/test_distros/test_netconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_distros/test_netconfig.py b/tests/unittests/test_distros/test_netconfig.py index e986b593..e4530408 100644 --- a/tests/unittests/test_distros/test_netconfig.py +++ b/tests/unittests/test_distros/test_netconfig.py @@ -407,7 +407,7 @@ class TestNetCfgDistroUbuntuNetplan(TestNetCfgDistroBase): self.assertEqual(0o644, get_mode(cfgpath, tmpd)) def netplan_path(self): - return '/etc/netplan/50-cloud-init.yaml' + return '/etc/netplan/50-cloud-init.yaml' def test_apply_network_config_v1_to_netplan_ub(self): expected_cfgs = { |