summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2013-10-04 19:20:23 -0400
committerScott Moser <smoser@ubuntu.com>2013-10-04 19:20:23 -0400
commit54da96b3e4838ce8c13d27d80226cc17c80b384a (patch)
tree4f8f3ae270482e49248cbd1a80e84e859f31dd0c /tests
parent26d2c9a3b4b9fdcdd0d26b62df2aad68ee480f62 (diff)
parentfb7b982da08619fad2c582f921c05cf982621c0b (diff)
downloadvyos-cloud-init-54da96b3e4838ce8c13d27d80226cc17c80b384a.tar.gz
vyos-cloud-init-54da96b3e4838ce8c13d27d80226cc17c80b384a.zip
fix failure to create disks on azure, create new 'dev.part' notation
This fixes azure partition creation, and introduces 'ephemeral0.1' notation to indicate "partition 1 on whatever device is ephemeral0". LP: #1233698
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/test_datasource/test_azure.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/unittests/test_datasource/test_azure.py b/tests/unittests/test_datasource/test_azure.py
index df7e52d0..aad84206 100644
--- a/tests/unittests/test_datasource/test_azure.py
+++ b/tests/unittests/test_datasource/test_azure.py
@@ -328,8 +328,6 @@ class TestAzureDataSource(MockerTestCase):
self.assertTrue(ret)
cfg = dsrc.get_config_obj()
self.assertTrue(cfg)
- self.assertEquals(dsrc.device_name_to_device("ephemeral0"),
- "/dev/sdc")
def test_userdata_arrives(self):
userdata = "This is my user-data"