From 2e4d0ac1f46c5c3db9945ed5a0452511cee2e04f Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Mon, 11 Nov 2019 12:11:24 +0100
Subject: [PATCH] SSB-47: Rename function to fit purpose

---
 CAL/CalibrationCommon/test/t_holography_dataset_class.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/CAL/CalibrationCommon/test/t_holography_dataset_class.py b/CAL/CalibrationCommon/test/t_holography_dataset_class.py
index 922430bf1e0..9bbb258d2c9 100755
--- a/CAL/CalibrationCommon/test/t_holography_dataset_class.py
+++ b/CAL/CalibrationCommon/test/t_holography_dataset_class.py
@@ -15,25 +15,24 @@ path_to_test_data = '/var/tmp/holography'
 path_to_test_dataset = path_to_test_data + '/CS001HBA0.hdf5'
 
 
-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_hds(self):
         '''
         Reads a Measurement Set from a file and converts it to an HDS.
-        ''' 
+        '''
         # Read the MS into memory.
         holist = list_observations_in_path(path_to_test_data)
         hbsflist = list_bsf_files_in_path(path_to_test_data)
         for hbsf in hbsflist:
             hbsf.read_file()
         ho_per_ms = [(hbsf, ho) for hbsf, ho in zip(hbsflist, holist)]
-  
+
         # Now create the Holography Data Set in memory from the MS data.
         holography_dataset = HolographyDataset()
         holography_dataset.load_from_beam_specification_and_ms(
-- 
GitLab