sot / jobwatch

Watch files, database tables, and log files to ensure valid cron processing
3 stars 0 forks source link

Remove checks that use Python Sybase #64

Closed jeanconn closed 8 months ago

jeanconn commented 9 months ago

Description

Remove checks that use Python Sybase

Interface impacts

Testing

Unit tests

(ska3-masters) jeanconn-fido> git rev-parse HEAD
efbfcc43931934a3f584d2ed10b4b660c8cea031
(ska3-masters) jeanconn-fido> pytest
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.10.8, pytest-7.2.1, pluggy-1.0.0
rootdir: /proj/sot/ska/jeanproj/git, configfile: pytest.ini
plugins: timeout-2.1.0, anyio-3.6.2
collected 9 items                                                                                                                                                          

jobwatch/tests/test_jobwatch.py .........                                                                                                                            [100%]

============================================================================ 9 passed in 1.14s

Independent check of unit tests by [REVIEWER NAME]

Functional tests

Outputs are as-expected with the direct sybase checks removed.

Hourly MTA output https://icxc.cfa.harvard.edu/aspect/test_review_outputs/jobwatch-pr664/hourly_mta/status/ Hourly Ska output https://icxc.cfa.harvard.edu/aspect/test_review_outputs/jobwatch-pr664/hourly_ska/status/ Daily report https://icxc.cfa.harvard.edu/aspect/test_review_outputs/jobwatch-pr664/2024043/