From b0e10dba7cec976cd92374bb57087144240e39b2 Mon Sep 17 00:00:00 2001 From: Nathan <95725385+treefern@users.noreply.github.com> Date: Thu, 30 Jan 2025 10:19:02 +0000 Subject: [PATCH] NPI-3688 todo for better tests for comment handling functions. Linting fix --- tests/test_sp3.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_sp3.py b/tests/test_sp3.py index b3895f7..eb366bc 100644 --- a/tests/test_sp3.py +++ b/tests/test_sp3.py @@ -143,7 +143,7 @@ def test_read_sp3_validation_sv_count_mismatch_header_vs_content(self, mock_file "Header says there should be 1 epochs, however there are 2 (unique) epochs in the content (duplicate epoch check comes later).", "Loading SP3 with mismatch between SV count in header and in content, should raise exception", ) - + @patch("builtins.open", new_callable=mock_open, read_data=sp3c_example2_data) def test_read_sp3_correct_svs_read_when_ev_ep_present(self, mock_file): # This should not raise an exception; SV count should match header if parsed correctly. @@ -218,6 +218,9 @@ def test_gen_sp3_fundamentals(self): # - Not including column names (can just test that output matches expected format) # - Not including any NaN value *anywhere* + # TODO add tests for SP3 comment handling, such as comment line reflow, append vs overwrite comments, comment + # format exception handling. + def test_gen_sp3_content_velocity_exception_handling(self): """ gen_sp3_content() velocity output should raise exception (currently unsupported).\