stats: python vpp_stats rewrite to access stat segment directly
[vpp.git] / test / test_stats_client.py
index 300e820..0fa87a3 100644 (file)
@@ -23,8 +23,8 @@ class StatsClientTestCase(VppTestCase):
     def test_set_errors(self):
         """Test set errors"""
         self.assertEqual(self.statistics.set_errors(), {})
-        self.assertEqual(self.statistics.get_counter('/err/ethernet-input/no'),
-                         [0])
+        self.assertEqual(
+            self.statistics.get_counter('/err/ethernet-input/no error'), [0])
 
     def test_client_fd_leak(self):
         """Test file descriptor count - VPP-1486"""