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

SSB-47: Rename function to fit purpose

parent 2e4d0ac1
No related branches found
No related tags found
1 merge request!44Merge back holography to master
...@@ -13,12 +13,12 @@ logger = logging.getLogger('t_holography_dataset_class') ...@@ -13,12 +13,12 @@ logger = logging.getLogger('t_holography_dataset_class')
path_to_test_data = '/var/tmp/holography' 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) return not os.path.exists(path_to_test_data)
class TestHolographyDatasetClass(unittest.TestCase): 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): def test_create_hdf5_and_read_it_in(self):
''' '''
Reads a Measurement Set from a file and converts it to an HDS. Reads a Measurement Set from a file and converts it to an HDS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment