tests

test_api_views.py

test_bad_pixel_monitor.py

test_bias_monitor.py

test_calculations.py

Tests for the calculations module.

Authors

  • Bryan Hilbert

Use

These tests can be run via the command line (omit the -s to suppress verbose output to stdout):

pytest -s test_calculations.py
jwql.tests.test_calculations.test_double_gaussian_fit()[source]

Test the double Gaussian fitting function

jwql.tests.test_calculations.test_gaussian1d_fit()[source]

Test histogram fitting function

jwql.tests.test_calculations.test_mean_image()[source]

Test the sigma-clipped mean and stdev image calculator

jwql.tests.test_calculations.test_mean_stdev()[source]

Test calcualtion of the sigma-clipped mean from an image

test_dark_monitor.py

test_data_containers.py

test_database_interface.py

test_edb.py

test_edb_telemetry_monitor.py

test_instrument_properties.py

test_loading_times.py

test_logging_functions.py

test_mast_utils.py

Tests for the mast_utils module.

Authors

Joe Filippazzo

Use

These tests can be run via the command line (omit the -s to suppress verbose output to stdout):

pytest -s test_mast_utils.py
jwql.tests.test_mast_utils.test_astroquery_mast()[source]

Test if the astroquery.mast service can complete a request

jwql.tests.test_mast_utils.test_caom_instrument_keywords()[source]

Test to see that the CAOM keywords are the same for all instruments

jwql.tests.test_mast_utils.test_filtered_instrument_keywords()[source]

Test to see that the instrument specific service keywords are different for all instruments

jwql.tests.test_mast_utils.test_instrument_dataproduct_filtering()[source]

Test to see that the instrument inventory can be filtered by data product

jwql.tests.test_mast_utils.test_instrument_inventory_filtering()[source]

Test to see that the instrument inventory can be filtered

test_permissions.py

test_pipeline_tools.py

test_plotting.py

Tests for the plotting module.

Authors

  • Joe Filippazzo

Use

These tests can be run via the command line (omit the -s to suppress verbose output to stdout):

pytest -s test_plotting.py
jwql.tests.test_plotting.test_bar_chart()[source]

Make sure some dummy data generates a bokeh plot

jwql.tests.test_plotting.test_bokeh_version()[source]

Make sure that the current version of Bokeh matches the version being used in all the web app HTML templates.

test_preview_image.py

test_readnoise_monitor.py

test_setup.py

Tests for the setup.py module.

Authors

  • Bryan Hilbert

Use

These tests can be run via the command line (omit the -s to suppress verbose output to stdout):

pytest -s test_setup_info.py
jwql.tests.test_setup.test_version_number()[source]

Test that the JWQL version number is retrieved from setup.py

test_utils.py