Skip to content
Snippets Groups Projects
Commit f37662b9 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

SSB-47: simplified tests

parent 6195893d
No related branches found
No related tags found
1 merge request!44Merge back holography to master
......@@ -32,10 +32,8 @@ class TestCalibrationTable(unittest.TestCase):
test_calibration_table.store_to_file(temp_file.name)
stored_calibration_table = CalibrationTable.load_from_file(temp_file.name)
self.assertEqual(test_calibration_table.observation_station,
stored_calibration_table.observation_station)
assert_array_equal(test_calibration_table.data,
stored_calibration_table.data)
self.assertEqual(test_calibration_table,
stored_calibration_table)
def test_storing_to_hdf(self):
with NamedTemporaryFile('w+b') as temp_file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment