diff options
author | 2018-03-02 15:39:36 +0000 | |
---|---|---|
committer | 2018-03-02 15:39:36 +0000 | |
commit | a74ad5a1ec1a73389c5983440b2031b0bc72cea1 (patch) | |
tree | 7c13c3b78cb8ae81219c7b9907f87dec7c499b3c /tests/unit/network_services/traffic_profile/test_http.py | |
parent | c27266f509dd1fb07d7b03e5c6befe489a95a423 (diff) | |
parent | 97cb29356bee55639cb3e3343aae50abec2d329e (diff) |
Merge "Replace assertEqual(None, xx) with assertIsNone(xx)"
Diffstat (limited to 'tests/unit/network_services/traffic_profile/test_http.py')
-rw-r--r-- | tests/unit/network_services/traffic_profile/test_http.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/unit/network_services/traffic_profile/test_http.py b/tests/unit/network_services/traffic_profile/test_http.py index e818a0528..c102c7966 100644 --- a/tests/unit/network_services/traffic_profile/test_http.py +++ b/tests/unit/network_services/traffic_profile/test_http.py @@ -33,13 +33,11 @@ class TestTrafficProfileGenericHTTP(unittest.TestCase): traffic_profile_generic_htt_p = \ TrafficProfileGenericHTTP(TrafficProfile) traffic_generator = {} - self.assertEqual(None, - traffic_profile_generic_htt_p.execute( - traffic_generator)) + self.assertIsNone( + traffic_profile_generic_htt_p.execute(traffic_generator)) def test__send_http_request(self): traffic_profile_generic_htt_p = \ TrafficProfileGenericHTTP(TrafficProfile) - self.assertEqual(None, - traffic_profile_generic_htt_p._send_http_request( + self.assertIsNone(traffic_profile_generic_htt_p._send_http_request( "10.1.1.1", "250", "/req")) |