Skip to content
Snippets Groups Projects
Commit 8ff2725b authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

remove blank before args

parent de843e5d
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,11 @@ class testConfig(unittest.TestCase):
self.ctd = {'cruisePrefix': 'fr29', 'station': 'Station\\s*:\\s*\\D*(\\d*)', 'stationPrefixLength': 3,
'titleSummary': 'CTD profiles processed during PIRATA-FR29 cruise', 'typeInstrument': 'SBE911+',
'instrumentNumber': '09P1263', 'isHeader': '^[*#]', 'isDevice': ['^\\*\\s+(Sea-Bird)', '(\\*END\\*)'],
'latitude': ['Latitude\\s*:\\s*(\\d+)\\s+(\\d+.\\d+)\\s+(\\w)', 'NMEA Latitude\\s*=\\s*(\\d+\\s+\\d+.\\d+\\s+\\w)'],
'longitude': ['Longitude\\s*:\\s*(\\d+)\\s+(\\d+.\\d+)\\s+(\\w)', 'NMEA Longitude\\s*=\\s*(\\d+\\s+\\d+.\\d+\\s+\\w)'],
'date': 'Date\\s*:\\s*(\\d+)/(\\d+)/(\\d+)', 'hour': '[Heure|Hour]\\s*:\\s*(\\d+)[:hH](\\d+):(\\d+)',
'latitude': 'NMEA\s+Latitude\s*[:=]\s*(\d+)\s+(\d+.\d+)\s+(\w)',
'longitude': 'NMEA\s+Longitude\s*[:=]\s*(\d+)\s+(\d+.\d+)\s+(\w)',
'time': 'System UpLoad Time\s*=\s*(\w+)\s+(\d+)\s+(\d+)\s+(\d+):(\d+):(\d+)',
'date': 'Date\s*:\s*(\d+)/(\d+)/(\d+)',
'hour': '[Heure|Hour]\s*:\s*(\d+)[:hH](\d+):(\d+)',
'bottomDepth': 'Bottom Depth\\s*:\\s*(\\d*\\.?\\d+?)\\s*\\S*', 'operator': 'Operator\\s*:\\s*(.*)',
'type': 'Type\\s*:\\s*(.*)'}
self.splitCtd = {'ETDD': 2, 'PRES': 3, 'DEPTH': 4, 'TEMP': 5, 'PSAL': 18,
......
......@@ -4,11 +4,11 @@ from physical_parameter import Roscop
'''
Run test in single file
> python - m unittest - v tests/test_roscop.py
> python -m unittest -v tests/test_roscop.py
Run all test_ * in dir tests:
> python -m unittest discover tests - v
> python -m unittest discover - s tests - p 'test_*.py' - v
> python -m unittest discover -s tests -p 'test_*.py' -v
'''
......
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