From 7ef100256db1b5a07f2f45d88fd555931e6c3cf9 Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Mon, 11 Nov 2019 12:12:10 +0100 Subject: [PATCH] SSB-47: Rename function to fit purpose --- CAL/CalibrationCommon/test/t_holography_dataset_class2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CAL/CalibrationCommon/test/t_holography_dataset_class2.py b/CAL/CalibrationCommon/test/t_holography_dataset_class2.py index 258a7f26ac3..2248ddfec22 100755 --- a/CAL/CalibrationCommon/test/t_holography_dataset_class2.py +++ b/CAL/CalibrationCommon/test/t_holography_dataset_class2.py @@ -13,12 +13,12 @@ logger = logging.getLogger('t_holography_dataset_class') path_to_test_data = '/var/tmp/holography' -def _does_test_data_exist(): +def _is_test_data_missing(): return not os.path.exists(path_to_test_data) class TestHolographyDatasetClass(unittest.TestCase): - @unittest.skipIf(_does_test_data_exist(), 'test data is missing please check documentation') + @unittest.skipIf(_is_test_data_missing(), 'test data is missing please check documentation') def test_create_hdf5_and_read_it_in(self): ''' Reads a Measurement Set from a file and converts it to an HDS. -- GitLab