Change position in assert arguments
Expected should be on a first place like: assert that needle is not equal to haystack. Change-Id: I16eb31e3694fdd4d3f7847881040a04734b86b57
This commit is contained in:
parent
4b9c52bb6b
commit
8c7f0d3125
@ -42,7 +42,7 @@ class DriverSanityTestIronicClient(base.FunctionalTestBase):
|
||||
drivers_names = self.get_drivers_names()
|
||||
for driver in drivers_names:
|
||||
driver_properties = self.properties_driver(driver)
|
||||
self.assertNotEqual([x['Property'] for x in driver_properties], [])
|
||||
self.assertNotEqual([], [x['Property'] for x in driver_properties])
|
||||
|
||||
def test_driver_list(self):
|
||||
"""Test steps:
|
||||
|
Loading…
Reference in New Issue
Block a user