gemini_instruments.gnirs.tests package
Submodules
gemini_instruments.gnirs.tests.test_gnirs module
- gemini_instruments.gnirs.tests.test_gnirs.ad(request)[source]
Fixture that will download a file from specified as a test parameter, open it as an AstroData object and return it.
- Parameters
request (fixture) – Pytest built-in fixture containing information about the parent test.
- Returns
Raw file downloaded from the archive and cached locally.
- Return type
- gemini_instruments.gnirs.tests.test_gnirs.test_descriptor_matches_type(ad, descriptor, expected_type)[source]
- gemini_instruments.gnirs.tests.test_gnirs.test_ra_and_dec_always_returns_float(ad, monkeypatch)[source]
Tests that the get the RA/DEC coordinates using descriptors.
- Parameters
ad (fixture) – Custom fixture that downloads and opens the input file.