Testing testpyutils ... FAILED
Message: will run ./testpyutils for no longer than 600 seconds.
============================= test session starts ==============================
platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 -- /sasbuild/tools/python-3.12.4/bin/python3
cachedir: .pytest_cache
rootdir: /workspaces/sas/packages/pyutils
plugins: anyio-4.4.0
collecting ... collected 11 items

test_pyutils.py::test_get_key_word PASSED                                [  9%]
test_pyutils.py::test_pydump PASSED                                      [ 18%]
test_pyutils.py::test_is_notebook PASSED                                 [ 27%]
test_pyutils.py::test_create_file_from_data PASSED                       [ 36%]
test_pyutils.py::test_merge_fits PASSED                                  [ 45%]
test_pyutils.py::test_imgstat PASSED                                     [ 54%]
test_pyutils.py::test_add_column_to_fits PASSED                          [ 63%]
test_pyutils.py::test_add_row_to_fits PASSED                             [ 72%]
test_pyutils.py::test_sort_fits PASSED                                   [ 81%]
test_xmmtools.py::test_postcard FAILED                                   [ 90%]
test_xmmtools.py::test_download_ODF FAILED                               [100%]

=================================== FAILURES ===================================
________________________________ test_postcard _________________________________

    def test_postcard():
        xmm_tools.postcard_from_XSA('0505720401')
    
        if os.path.isfile('P0505720401EPX0003COLIM8000.PNG'):
            os.remove('P0505720401EPX0003COLIM8000.PNG')
            assert True
        else:
>           assert False
E           assert False

test_xmmtools.py:34: AssertionError
______________________________ test_download_ODF _______________________________

    def test_download_ODF():
        xmm_tools.download_ODF_from_XSA('0505720401', 'ODF')
        if os.path.isfile('0505720401.tar.gz'):
            os.remove('0505720401.tar.gz')
            assert True
        else:
>           assert False
E           assert False

test_xmmtools.py:51: AssertionError
=============================== warnings summary ===============================
test/test_pyutils.py::test_merge_fits
  /workspaces/sas/lib/python/pysas/pyutils/pyutils.py:500: RuntimeWarning: invalid value encountered in cast
    data_dict.update({key : np.concatenate((data_in_dict, data_key))})

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test_xmmtools.py::test_postcard - assert False
FAILED test_xmmtools.py::test_download_ODF - assert False
==================== 2 failed, 9 passed, 1 warning in 1.36s ====================
Error while running ./testpyutils
ERROR: one of the tests failed
