Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Aug 16, 2024
1 parent f9c6885 commit 0f780bb
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion jwql/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
'observation': '001',
'parallel_seq_id': '1',
'program_id': '90002',
'recognized_filename': True,
'suffix': 'rateints',
'visit': '001',
'visit_group': '02',
Expand All @@ -58,6 +59,7 @@
'observation': '001',
'parallel_seq_id': '1',
'program_id': '00327',
'recognized_filename': True,
'suffix': 'rate',
'visit': '001',
'visit_group': '02',
Expand All @@ -74,6 +76,7 @@
'observation': '001',
'parallel_seq_id': '1',
'program_id': '00327',
'recognized_filename': True,
'visit': '001',
'visit_group': '02',
'file_root': 'jw00327001001_02101_00002_nrca1',
Expand All @@ -85,6 +88,7 @@
'instrument': 'nirspec',
'observation': '008',
'program_id': '01118',
'recognized_filename': True,
'visit': '001',
'detector': 'Unknown',
'file_root': 'jw01118008001_01_msa',
Expand All @@ -101,6 +105,7 @@
'observation': '002',
'parallel_seq_id': '1',
'program_id': '94015',
'recognized_filename': True,
'suffix': 'crf',
'visit': '002',
'visit_group': '02',
Expand All @@ -118,6 +123,7 @@
'observation': '001',
'parallel_seq_id': '1',
'program_id': '90001',
'recognized_filename': True,
'visit': '003',
'visit_group': '02',
'file_root': 'jw90001001003_02101_00001_nis',
Expand All @@ -130,6 +136,7 @@
'instrument': 'miri',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'suffix': 'i2d',
'target_id': 't001',
'detector': 'Unknown',
Expand All @@ -143,6 +150,7 @@
'instrument': 'miri',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'suffix': 'i2d',
'target_id': 't001',
'detector': 'Unknown',
Expand All @@ -156,6 +164,7 @@
'instrument': 'miri',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'source_id': 's00001',
'suffix': 'i2d',
'detector': 'Unknown',
Expand All @@ -170,6 +179,7 @@
'epoch': '1',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'suffix': 'i2d',
'target_id': 't001',
'detector': 'Unknown',
Expand All @@ -184,6 +194,7 @@
'epoch': '1',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'source_id': 's00001',
'suffix': 'i2d',
'detector': 'Unknown',
Expand All @@ -197,6 +208,7 @@
'instrument': 'miri',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'target_id': 't001',
'detector': 'Unknown',
'file_root': 'jw80600-o009_t001_miri_f1130w',
Expand All @@ -209,6 +221,7 @@
'instrument': 'miri',
'optical_elements': 'f1130w',
'program_id': '80600',
'recognized_filename': True,
'source_id': 's00001',
'detector': 'Unknown',
'file_root': 'jw80600-o009_s00001_miri_f1130w',
Expand All @@ -224,6 +237,7 @@
'observation': '003',
'parallel_seq_id': '1',
'program_id': '00733',
'recognized_filename': True,
'segment': '001',
'suffix': 'rate',
'visit': '001',
Expand All @@ -242,6 +256,7 @@
'observation': '003',
'parallel_seq_id': '1',
'program_id': '00733',
'recognized_filename': True,
'segment': '001',
'suffix': 'crfints',
'visit': '001',
Expand All @@ -259,6 +274,7 @@
'observation': '003',
'parallel_seq_id': '1',
'program_id': '00733',
'recognized_filename': True,
'segment': '001',
'visit': '001',
'visit_group': '02',
Expand All @@ -274,6 +290,7 @@
'instrument': 'fgs',
'observation': '011',
'program_id': '00729',
'recognized_filename': True,
'suffix': 'image_cal',
'visit': '001',
'detector': 'Unknown',
Expand All @@ -289,6 +306,7 @@
'instrument': 'fgs',
'observation': '011',
'program_id': '00729',
'recognized_filename': True,
'suffix': 'image_cal',
'visit': '001',
'detector': 'Unknown',
Expand All @@ -304,6 +322,7 @@
'instrument': 'fgs',
'observation': '001',
'program_id': '00327',
'recognized_filename': True,
'visit': '001',
'detector': 'Unknown',
'file_root': 'jw00327001001_gs-id_2',
Expand All @@ -318,6 +337,7 @@
'instrument': 'fgs',
'observation': '001',
'program_id': '00327',
'recognized_filename': True,
'visit': '001',
'detector': 'Unknown',
'file_root': 'jw00327001001_gs-id_12',
Expand All @@ -332,6 +352,7 @@
'instrument': 'fgs',
'observation': '048',
'program_id': '86600',
'recognized_filename': True,
'suffix': 'stream',
'visit': '001',
'detector': 'Unknown',
Expand All @@ -347,6 +368,7 @@
'instrument': 'fgs',
'observation': '011',
'program_id': '00729',
'recognized_filename': True,
'visit': '001',
'detector': 'Unknown',
'file_root': 'jw00729011001_gs-acq2_2019155024808',
Expand All @@ -361,6 +383,7 @@
'instrument': 'fgs',
'observation': '005',
'program_id': '01118',
'recognized_filename': True,
'segment': '002',
'suffix': 'uncal',
'visit': '001',
Expand All @@ -371,6 +394,7 @@
# Test msa file
('jw02560013001_01_msa.fits',
{'program_id': '02560',
'recognized_filename': True,
'observation': '013',
'visit': '001',
'filename_type': 'stage_2_msa',
Expand Down Expand Up @@ -480,20 +504,40 @@ def test_validate_config():
"admin_account": "",
"auth_mast": "",
"connection_string": "",
"database": {
"databases": {
"engine": "",
"name": "",
"user": "",
"password": "",
"host": "",
"port": ""
},
"django_databases" : {
"default": {
"ENGINE" : "",
"NAME" : "",
"USER" : "",
"PASSWORD" : "",
"HOST" : "",
"PORT" : ""
},
"monitors": {
"ENGINE" : "",
"NAME" : "",
"USER" : "",
"PASSWORD" : "",
"HOST" : "",
"PORT" : ""
}
},
"django_debug" : "",
"jwql_dir": "",
"jwql_version": "",
"server_type": "",
"log_dir": "",
"mast_token": "",
"outputs": "",
"working" : "",
"preview_image_filesystem": "",
"filesystem": "",
"setup_file": "",
Expand Down

0 comments on commit 0f780bb

Please sign in to comment.