Skip to content

Instantly share code, notes, and snippets.

@ErwanAliasr1
Created February 23, 2016 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ErwanAliasr1/42ab833419ee5c5fed62 to your computer and use it in GitHub Desktop.
Save ErwanAliasr1/42ab833419ee5c5fed62 to your computer and use it in GitHub Desktop.
diff --git a/src/ceph-disk/tests/test_main.py b/src/ceph-disk/tests/test_main.py
index fe85eb7..47b74ae 100644
--- a/src/ceph-disk/tests/test_main.py
+++ b/src/ceph-disk/tests/test_main.py
@@ -315,7 +315,7 @@ class TestCephDisk(object):
partition_uuid = "56244cf5-83ef-4984-888a-2d8b8e0e04b2"
disk = "Xda"
partition = "Xda1"
- holders = ["dm-0"]
+ holders = ["dm-100"]
with patch.multiple(
main,
is_held=lambda dev: holders,
@@ -346,7 +346,7 @@ class TestCephDisk(object):
partition_uuid = "56244cf5-83ef-4984-888a-2d8b8e0e04b2"
disk = "Xda"
partition = "Xda1"
- holders = ["dm-0", "dm-1"]
+ holders = ["dm-100", "dm-101"]
with patch.multiple(
main,
is_held=lambda dev: holders,
@@ -451,9 +451,9 @@ class TestCephDisk(object):
data_uuid = "56244cf5-83ef-4984-888a-2d8b8e0e04b2"
disk = "Xda"
data = "Xda1"
- data_holder = "dm-0"
+ data_holder = "dm-100"
space = "Xda2"
- space_holder = "dm-0"
+ space_holder = "dm-100"
mount_path = '/mount/path'
fs_type = 'ext4'
space_uuid = "7ad5e65a-0ca5-40e4-a896-62a74ca61c55"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment