commit | fd88eeee4ac53508d61efe5f4c6f180a4f30a9d7 | [log] [tgz] |
---|---|---|
author | gengchc2 <geng.changcai2@zte.com.cn> | Thu Sep 22 16:09:15 2016 +0800 |
committer | gengchc2 <geng.changcai2@zte.com.cn> | Wed Nov 16 03:54:04 2016 +0000 |
tree | be457e31580c663528a20419a7d738ca5e9b8741 | |
parent | 86038e1c720bc45edc44a61fbc0343579a76a382 [diff] |
Replace assertEqual(None, *) with assertIsNone in tests Replace assertEqual(None, *) with assertIsNone in tests to have more clear messages in case of failure. Change-Id: Ice018dfd3e48326ce9cac58342d03979559b9e82
diff --git a/neutron/tests/tempest/api/test_floating_ips.py b/neutron/tests/tempest/api/test_floating_ips.py index bafa54c..6e722db 100644 --- a/neutron/tests/tempest/api/test_floating_ips.py +++ b/neutron/tests/tempest/api/test_floating_ips.py
@@ -100,4 +100,4 @@ # disassociate body = self.client.update_floatingip(body['floatingip']['id'], port_id=None) - self.assertEqual(None, body['floatingip']['port_id']) + self.assertIsNone(body['floatingip']['port_id'])