From 507f0058ff6e06e2d9c45b121b23da6a49653e59 Mon Sep 17 00:00:00 2001
From: thijs snijder <snijder@astron.nl>
Date: Wed, 23 Feb 2022 16:35:29 +0100
Subject: [PATCH] fixed function

---
 .../tangostationcontrol/test/beam/test_delays.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py b/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py
index cf4c5f6b7..a9c9babfa 100644
--- a/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py
+++ b/tangostationcontrol/tangostationcontrol/test/beam/test_delays.py
@@ -39,7 +39,7 @@ class TestAttributeTypes(base.TestCase):
             pointing = d.measure.direction(*direction)
             dir = d.get_direction_vector(pointing)
 
-            self.assertTrue(0.98 <= sqrt(pow(dir[0],2) + pow(dir[1],2) + pow(dir[2],2)) <= 1.02)
+            self.assertTrue(0.95 <= sqrt(pow(dir[0],2) + pow(dir[1],2)) <= 1.05)
 
     def test_identical_location(self):
         # # create a frame tied to the reference position
-- 
GitLab