Testing testpyutils ... FAILED
Message: will run ./testpyutils for no longer than 600 seconds.
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0 -- /sasbuild/local/rhel8.6/GNU_CC_CXX_11.3.0/python_3.10.6/bin/python3.10
cachedir: .pytest_cache
rootdir: /sasbuild/build/rhel8.6/GNU_CC_CXX_11.3.0/ppsdevtrack_rel_11.3.0_build/packages/pyutils
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 PASSED                               [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
=========================== short test summary info ============================
FAILED test_xmmtools.py::test_postcard - assert False
========================= 1 failed, 10 passed in 2.04s =========================
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=13, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.63.108.210', 47032), raddr=('131.176.161.24', 443)>
Error while running ./testpyutils
ERROR: one of the tests failed
