summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_aliyun.py
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2020-06-02 09:06:07 -0700
committerGitHub <noreply@github.com>2020-06-02 12:06:07 -0400
commitd53921ea3396c8301c65cad3abf04b4542d4b7a0 (patch)
treed19c4271786853d2da050749dc5a65dc95878327 /tests/unittests/test_datasource/test_aliyun.py
parent5f7825e22241423322dbe628de1b00289cf34114 (diff)
downloadvyos-cloud-init-d53921ea3396c8301c65cad3abf04b4542d4b7a0.tar.gz
vyos-cloud-init-d53921ea3396c8301c65cad3abf04b4542d4b7a0.zip
test: fix all flake8 E121 and E123 errors (#404)
This fixes issues with closing brackets not matching the opening bracket's line and continuation line under-idented for hanging indent.
Diffstat (limited to 'tests/unittests/test_datasource/test_aliyun.py')
-rw-r--r--tests/unittests/test_datasource/test_aliyun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_aliyun.py b/tests/unittests/test_datasource/test_aliyun.py
index 1e66fcdb..b626229e 100644
--- a/tests/unittests/test_datasource/test_aliyun.py
+++ b/tests/unittests/test_datasource/test_aliyun.py
@@ -143,7 +143,7 @@ class TestAliYunDatasource(test_helpers.HttprettyTestCase):
self.assertEqual('aliyun', self.ds.cloud_name)
self.assertEqual('ec2', self.ds.platform)
self.assertEqual(
- 'metadata (http://100.100.100.200)', self.ds.subplatform)
+ 'metadata (http://100.100.100.200)', self.ds.subplatform)
@mock.patch("cloudinit.sources.DataSourceAliYun._is_aliyun")
def test_returns_false_when_not_on_aliyun(self, m_is_aliyun):