diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df15543..dce9f0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,5 +78,5 @@ jobs: run: | source .venv/bin/activate pip install . - osivalidator --data data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi -r rules - osivalidator --data data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi -r rules --parallel + osivalidator --data data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi -r rules + osivalidator --data data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi -r rules --parallel diff --git a/data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi b/data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi deleted file mode 100644 index 0b0b8eb..0000000 Binary files a/data/20240604T065310Z_sv_370_244_20_generic_valid_sensor_view.osi and /dev/null differ diff --git a/data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi b/data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi new file mode 100644 index 0000000..c47f393 Binary files /dev/null and b/data/20240618T122540Z_sv_370_244_20_minimal_valid_example.osi differ diff --git a/osivalidator/osi_validator_logger.py b/osivalidator/osi_validator_logger.py index dc1af7c..8cb5b41 100644 --- a/osivalidator/osi_validator_logger.py +++ b/osivalidator/osi_validator_logger.py @@ -147,8 +147,6 @@ def error(self, timestamp, msg, *args, **kwargs): @log def info(self, timestamp, msg, *args, **kwargs): """Wrapper for python info logger""" - if timestamp: - self.log_messages[timestamp].append((20, timestamp, msg)) if kwargs.get("pass_to_logger"): return self.logger.info(msg, *args, **kwargs) return 0