From 121c42fa4446e39f13dc0b9965eeffc6e73e768b Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 23 Feb 2024 13:40:29 +0100
Subject: [PATCH] fix

---
 tangostationcontrol/test/metrics/test_metrics.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tangostationcontrol/test/metrics/test_metrics.py b/tangostationcontrol/test/metrics/test_metrics.py
index 5d0174ff4..351d5f43f 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
-- 
GitLab