Skip to content

pycheck tests failing due to missing obsid #137

@hpearnshaw

Description

@hpearnshaw

Look into why this obsid assertion isn't working, which was causing the pytest failures while doing the latest PR.

This doesn't seem to be affecting the overall clockfile generation.

Failure details below:

=================================== FAILURES ===================================
_____________________________ test_get_obsid_list ______________________________

    @pytest.mark.remote_data
    def test_get_obsid_list():
        table = get_obsid_list_from_heasarc()
        assert 'met' in table.colnames
>       assert '80002092002' in table['obsid']
E       AssertionError: assert '80002092002' in <Column name='obsid' dtype='str1' length=1>\n

nuclockutils/tests/test_utils.py:10: AssertionError
=========================== short test summary info ============================
FAILED nuclockutils/tests/test_utils.py::test_get_obsid_list - AssertionError: assert '80002092002' in <Column name='obsid' dtype='str1' length=1>\n
============== 1 failed, 35 passed, 1 skipped in 74.52s (0:01:14) ==============

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions