assert[Greater,Equal] -> assert_{,not_}called
[yardstick.git] / yardstick / tests / unit / network_services / traffic_profile / test_prox_profile.py
index e466305..cf31cc2 100644 (file)
@@ -124,5 +124,5 @@ class TestProxProfile(unittest.TestCase):
         for _ in profile.bounds_iterator(mock_logger):
             pass
 
-        self.assertEqual(mock_logger.debug.call_count, 1)
+        mock_logger.debug.assert_called_once()
         self.assertEqual(mock_logger.info.call_count, 10)