cc7716a2b7
[minor] improved unittest result
2024-09-09 16:05:02 +02:00
431dbe8924
[testing] improved dictionary comparison. Failed tests have completely different picks (not only snrdb)
2024-08-30 15:07:31 +02:00
f2159c47f9
[testing] brought test_autopickstation up-to-date using, removing deprecated methods and using pytest.approx
...
Certain tests fail on snrdb calculation which has to be examined (WIP)
2024-08-30 12:41:16 +02:00
e35d5d6df9
[refactor] automatic code reformatting (Pycharm)
2022-03-09 14:41:34 +01:00
Darius Arnold
6936cfcfa6
[bugfix] Taupy didn't check return of get_coordinates
...
For a station not in the metadata, get_coordinates would return None which wasn't checked for.
This includes a test for a station which is not in metadata.
2018-08-13 22:42:19 +02:00
Darius Arnold
d4e2f4a070
[bugfix] maxDiff not correctly set in test_autopickstation
2018-08-08 09:11:34 +02:00
Darius Arnold
d3fee396b2
[modify] test_autopickstation to work with new return value
2018-08-03 13:50:41 +02:00
Darius Arnold
86f6584d91
Modify test_autopickstation's MockMetadata to work with the new Metadata class
2018-08-03 13:23:52 +02:00
Darius Arnold
108ba80b83
[minor] disable length limit when printing diff of picking results
...
By default the difference printed when two picking result dictionaries are compared is limited in length, this disables the limit.
2018-08-03 11:00:53 +02:00
Darius Arnold
8dcea2a8c3
[change] PickingResults now only stores actual results, PickingContainer stores intermediary values
...
PickingResults now stores only the actual results of picking, which are returned from the autopickstation function.
To store intermediary results during picking, the new class PickingContainer is used.
2018-08-03 10:59:10 +02:00
Darius Arnold
076115f7f5
[add] Station A106 to tests
...
This station has invalid values recorded on both N and E component, but a pick can still be found on Z
2018-07-30 14:32:32 +02:00
Darius Arnold
d14e789e97
Modify test to test that picking is possible for station with only vertical component
2018-07-30 14:31:56 +02:00
Darius Arnold
09721c7bb9
[add] station CH.FIESA to test_autopickstation
2018-07-20 15:06:15 +02:00
Darius Arnold
653e7c9b9a
[remove] unused function for creating an error message for autopickstation tests
2018-07-20 15:05:42 +02:00
Darius Arnold
1b815a27b8
[add] HidePrint can be configured to skip hiding for quick debugging of tests
2018-07-20 15:04:48 +02:00
Darius Arnold
153beff663
[add] tests for picking with missing trace in stream
2018-07-20 13:02:57 +02:00
Darius Arnold
c308415aa5
Move test_autopickstation to subdirectory in pylot/tests
2018-07-13 09:45:57 +02:00