diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-02-26 14:28:46 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-02-26 14:28:46 -0500 |
commit | 21fc25fbc0e73e15710d2f0333f7d3ba13eb3739 (patch) | |
tree | e2d11aa939fc2121201386ffcbf841913da7ee1b /tests/unittests/test_datasource/test_azure.py | |
parent | 0fa8bfa1104b18aaed8afb720cf0fa8ad8b3ffa2 (diff) | |
download | vyos-cloud-init-21fc25fbc0e73e15710d2f0333f7d3ba13eb3739.tar.gz vyos-cloud-init-21fc25fbc0e73e15710d2f0333f7d3ba13eb3739.zip |
pep8 and pylint
Diffstat (limited to 'tests/unittests/test_datasource/test_azure.py')
-rw-r--r-- | tests/unittests/test_datasource/test_azure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittests/test_datasource/test_azure.py b/tests/unittests/test_datasource/test_azure.py index 44c537f4..ccfd672a 100644 --- a/tests/unittests/test_datasource/test_azure.py +++ b/tests/unittests/test_datasource/test_azure.py @@ -352,13 +352,13 @@ class TestAzureDataSource(MockerTestCase): ovf_env_path = os.path.join(self.waagent_d, 'ovf-env.xml') self.assertTrue(os.path.exists(ovf_env_path)) self.assertEqual(xml, load_file(ovf_env_path)) - + def test_existing_ovf_same(self): # waagent/SharedConfig left alone if found ovf-env.xml same as cached odata = {'UserData': base64.b64encode("SOMEUSERDATA")} data = {'ovfcontent': construct_valid_ovf_env(data=odata)} - populate_dir(self.waagent_d, + populate_dir(self.waagent_d, {'ovf-env.xml': data['ovfcontent'], 'otherfile': 'otherfile-content', 'SharedConfig.xml': 'mysharedconfig'}) |