Skip to content
Snippets Groups Projects
Commit cbff94ea authored by Taya Snijder's avatar Taya Snijder
Browse files

more fixes

parent 38110af9
Branches
Tags
1 merge request!229Resolve L2SS-554 "Delay pointing unit tests"
...@@ -47,7 +47,7 @@ class TestAttributeTypes(base.TestCase): ...@@ -47,7 +47,7 @@ class TestAttributeTypes(base.TestCase):
d = delay_calculator(reference_itrf) d = delay_calculator(reference_itrf)
# set the antenna position identical to the reference position # set the antenna position identical to the reference position
antenna_itrf = [reference_itrf] # CS001LBA, in ITRF2005 epoch 2012.5 antenna_itrf = [[reference_itrf[0], reference_itrf[1], reference_itrf[2]]] # CS001LBA, in ITRF2005 epoch 2012.5
# # set the timestamp to solve for # # set the timestamp to solve for
timestamp = datetime.datetime(2000, 1, 1, 0, 0, 0) timestamp = datetime.datetime(2000, 1, 1, 0, 0, 0)
...@@ -61,7 +61,7 @@ class TestAttributeTypes(base.TestCase): ...@@ -61,7 +61,7 @@ class TestAttributeTypes(base.TestCase):
# calculate the delays based on the set reference position, the set time and now the set direction and antenna positions. # calculate the delays based on the set reference position, the set time and now the set direction and antenna positions.
delays = d.convert(direction, antenna_itrf) delays = d.convert(direction, antenna_itrf)
self.assertListEqual(delays == [0.0]) self.assertListEqual(delays, [0.0])
def test_light_second_delay(self): def test_light_second_delay(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment