assertEquals order wrong
Change-Id: I822b6ac5b8e8c3009d1ee2d647376eff84559c11 Partial-Bug: #1277104
This commit is contained in:
parent
1eb7aba2c9
commit
dc68d3f5cf
@ -101,7 +101,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'status',
|
'status',
|
||||||
'type',
|
'type',
|
||||||
)
|
)
|
||||||
self.assertEqual(columns, collist)
|
self.assertEqual(collist, columns)
|
||||||
datalist = (
|
datalist = (
|
||||||
'detached',
|
'detached',
|
||||||
volume_fakes.volume_zone,
|
volume_fakes.volume_zone,
|
||||||
@ -113,7 +113,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'',
|
'',
|
||||||
volume_fakes.volume_type,
|
volume_fakes.volume_type,
|
||||||
)
|
)
|
||||||
self.assertEqual(data, datalist)
|
self.assertEqual(datalist, data)
|
||||||
|
|
||||||
def test_volume_create_options(self):
|
def test_volume_create_options(self):
|
||||||
arglist = [
|
arglist = [
|
||||||
@ -165,7 +165,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'status',
|
'status',
|
||||||
'type',
|
'type',
|
||||||
)
|
)
|
||||||
self.assertEqual(columns, collist)
|
self.assertEqual(collist, columns)
|
||||||
datalist = (
|
datalist = (
|
||||||
'detached',
|
'detached',
|
||||||
volume_fakes.volume_zone,
|
volume_fakes.volume_zone,
|
||||||
@ -177,7 +177,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'',
|
'',
|
||||||
volume_fakes.volume_type,
|
volume_fakes.volume_type,
|
||||||
)
|
)
|
||||||
self.assertEqual(data, datalist)
|
self.assertEqual(datalist, data)
|
||||||
|
|
||||||
def test_volume_create_user_project_id(self):
|
def test_volume_create_user_project_id(self):
|
||||||
# Return a project
|
# Return a project
|
||||||
@ -240,7 +240,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'status',
|
'status',
|
||||||
'type',
|
'type',
|
||||||
)
|
)
|
||||||
self.assertEqual(columns, collist)
|
self.assertEqual(collist, columns)
|
||||||
datalist = (
|
datalist = (
|
||||||
'detached',
|
'detached',
|
||||||
volume_fakes.volume_zone,
|
volume_fakes.volume_zone,
|
||||||
@ -252,7 +252,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'',
|
'',
|
||||||
volume_fakes.volume_type,
|
volume_fakes.volume_type,
|
||||||
)
|
)
|
||||||
self.assertEqual(data, datalist)
|
self.assertEqual(datalist, data)
|
||||||
|
|
||||||
def test_volume_create_user_project_name(self):
|
def test_volume_create_user_project_name(self):
|
||||||
# Return a project
|
# Return a project
|
||||||
@ -315,7 +315,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'status',
|
'status',
|
||||||
'type',
|
'type',
|
||||||
)
|
)
|
||||||
self.assertEqual(columns, collist)
|
self.assertEqual(collist, columns)
|
||||||
datalist = (
|
datalist = (
|
||||||
'detached',
|
'detached',
|
||||||
volume_fakes.volume_zone,
|
volume_fakes.volume_zone,
|
||||||
@ -327,7 +327,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'',
|
'',
|
||||||
volume_fakes.volume_type,
|
volume_fakes.volume_type,
|
||||||
)
|
)
|
||||||
self.assertEqual(data, datalist)
|
self.assertEqual(datalist, data)
|
||||||
|
|
||||||
def test_volume_create_properties(self):
|
def test_volume_create_properties(self):
|
||||||
arglist = [
|
arglist = [
|
||||||
@ -376,7 +376,7 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'status',
|
'status',
|
||||||
'type',
|
'type',
|
||||||
)
|
)
|
||||||
self.assertEqual(columns, collist)
|
self.assertEqual(collist, columns)
|
||||||
datalist = (
|
datalist = (
|
||||||
'detached',
|
'detached',
|
||||||
volume_fakes.volume_zone,
|
volume_fakes.volume_zone,
|
||||||
@ -388,4 +388,4 @@ class TestVolumeCreate(TestVolume):
|
|||||||
'',
|
'',
|
||||||
volume_fakes.volume_type,
|
volume_fakes.volume_type,
|
||||||
)
|
)
|
||||||
self.assertEqual(data, datalist)
|
self.assertEqual(datalist, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user