fix assert to assertTrue

Change-Id: I9bc3756b1fdf1ab2c56275b7c045c272dcc8ac8c
This commit is contained in:
zhaorenming 2016-10-18 21:16:41 +08:00
parent b0e9d4f1aa
commit d59c3d6f38

View File

@ -101,7 +101,7 @@ class TestMellanox(OrchestratorSerializerTestBase):
self.assertIn('vnic_type', eswitch_dict)
self.assertEqual('hostdev', eswitch_dict['vnic_type'])
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
quantum_settings_l2 = common_attrs['quantum_settings']['L2']