fix assert to assertTrue

Change-Id: I9bc3756b1fdf1ab2c56275b7c045c272dcc8ac8c
(cherry picked from commit d59c3d6f38)
This commit is contained in:
zhaorenming 2016-10-18 21:16:41 +08:00 committed by Fedor Zhadaev
parent 0b5b853317
commit ce1f1c1e9d
1 changed files with 1 additions and 1 deletions

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']