diff --git a/tangostationcontrol/test/metrics/test_metrics.py b/tangostationcontrol/test/metrics/test_metrics.py index 5d0174ff4c4f5d4bc95d53c58b44a3addfae66d7..351d5f43f2c525643befaff1739d1fb66974c081 100644 --- a/tangostationcontrol/test/metrics/test_metrics.py +++ b/tangostationcontrol/test/metrics/test_metrics.py @@ -196,7 +196,7 @@ class TestMetrics(base.TestCase): }, metric.samples[0].labels, ) - self.assertEqual(1, metric.samples[0].value) + self.assertEqual(0, metric.samples[0].value) self.assertDictEqual( { @@ -209,7 +209,7 @@ class TestMetrics(base.TestCase): }, metric.samples[1].labels, ) - self.assertEqual(0, metric.samples[1].value) + self.assertEqual(1, metric.samples[1].value) with DeviceTestContext(test_device, process=False) as proxy: # access the attribute to trigger value propagation to metric