summaryrefslogtreecommitdiff
path: root/tests/unittests/test_data.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-05-01 05:26:29 -0400
committerScott Moser <smoser@ubuntu.com>2015-05-01 05:26:29 -0400
commit5ab9a1349db2286fca96681e00480d04bfd4473d (patch)
tree70d4057aa9d83e8b4f2dfb73c7eb13de4583167f /tests/unittests/test_data.py
parent1c9c670d1184c667efa5ea4b34e91bf047e4a8fd (diff)
parentb8706d7dc930c5c9dce1f96a000c66e5dda14e02 (diff)
downloadvyos-cloud-init-5ab9a1349db2286fca96681e00480d04bfd4473d.tar.gz
vyos-cloud-init-5ab9a1349db2286fca96681e00480d04bfd4473d.zip
Azure: if user has set hostname, do not overwrite it
Due to the way the azure boot works, where we identify the hostname to the fabric, we were inadvertently overwriting hostname that the user had set. LP: #1375252
Diffstat (limited to 'tests/unittests/test_data.py')
-rw-r--r--tests/unittests/test_data.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unittests/test_data.py b/tests/unittests/test_data.py
index 1b15dafa..c603bfdb 100644
--- a/tests/unittests/test_data.py
+++ b/tests/unittests/test_data.py
@@ -511,7 +511,6 @@ c: 4
mockobj.assert_called_once_with(
ci.paths.get_ipath("cloud_config"), "", 0o600)
-
def test_cloud_config_archive(self):
non_decodable = b'\x11\xc9\xb4gTH\xee\x12'
data = [{'content': '#cloud-config\npassword: gocubs\n'},