summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-09-27 16:31:31 -0400
committerScott Moser <smoser@ubuntu.com>2013-09-27 16:31:31 -0400
commit31a094f21abd836a8012e5b0e25b3da67865fd1d (patch)
tree90b9f186e0093b171eb18ca9aa1f1148fa5b2648 /tests/unittests
parente2ad3a6634e8eb5f0fa93a83bc1577b67e335129 (diff)
downloadvyos-cloud-init-31a094f21abd836a8012e5b0e25b3da67865fd1d.tar.gz
vyos-cloud-init-31a094f21abd836a8012e5b0e25b3da67865fd1d.zip
fix test to adjust for 'ephemeral0' being /dev/sdb
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/test_datasource/test_azure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_azure.py b/tests/unittests/test_datasource/test_azure.py
index 3bcc9520..86e2ed8c 100644
--- a/tests/unittests/test_datasource/test_azure.py
+++ b/tests/unittests/test_datasource/test_azure.py
@@ -304,7 +304,7 @@ class TestAzureDataSource(MockerTestCase):
cfg = dsrc.get_config_obj()
self.assertEquals(dsrc.device_name_to_device("ephemeral0"),
- "/dev/sdb1")
+ "/dev/sdb")
assert 'disk_setup' in cfg
assert 'fs_setup' in cfg
self.assertIsInstance(cfg['disk_setup'], dict)