fix assert to assertTrue
Change-Id: I9bc3756b1fdf1ab2c56275b7c045c272dcc8ac8c
This commit is contained in:
parent
b0e9d4f1aa
commit
d59c3d6f38
@ -101,7 +101,7 @@ class TestMellanox(OrchestratorSerializerTestBase):
|
|||||||
self.assertIn('vnic_type', eswitch_dict)
|
self.assertIn('vnic_type', eswitch_dict)
|
||||||
self.assertEqual('hostdev', eswitch_dict['vnic_type'])
|
self.assertEqual('hostdev', eswitch_dict['vnic_type'])
|
||||||
self.assertIn('apply_profile_patch', eswitch_dict)
|
self.assertIn('apply_profile_patch', eswitch_dict)
|
||||||
self.assertEqual(True, eswitch_dict['apply_profile_patch'])
|
self.assertTrue(eswitch_dict['apply_profile_patch'])
|
||||||
|
|
||||||
# Check L2 settings
|
# Check L2 settings
|
||||||
quantum_settings_l2 = common_attrs['quantum_settings']['L2']
|
quantum_settings_l2 = common_attrs['quantum_settings']['L2']
|
||||||
|
Loading…
Reference in New Issue
Block a user