File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -781,6 +781,24 @@ def test_cone_search_and_changing_MAIN_GAIA_TABLE(mock_querier_async):
781
781
assert "name_from_class" in job .parameters ["query" ]
782
782
783
783
784
+ def test_datalink_querier_load_data_no_dump_vot (mock_datalink_querier ):
785
+ result_dict = mock_datalink_querier .load_data (ids = [5937083312263887616 ], data_release = 'Gaia DR3' ,
786
+ data_structure = 'INDIVIDUAL' ,
787
+ retrieval_type = "ALL" ,
788
+ linking_parameter = 'SOURCE_ID' , valid_data = False , band = None ,
789
+ avoid_datatype_check = False ,
790
+ format = "votable" , dump_to_file = False , overwrite_output_file = True ,
791
+ verbose = False )
792
+
793
+ assert len (result_dict ) == 3
794
+
795
+ files = list (result_dict .keys ())
796
+ files .sort ()
797
+ assert files [0 ] == 'MCMC_MSC-Gaia DR3 5937083312263887616.xml'
798
+ assert files [1 ] == 'XP_CONTINUOUS-Gaia DR3 5937083312263887616.xml'
799
+ assert files [2 ] == 'XP_SAMPLED-Gaia DR3 5937083312263887616.xml'
800
+
801
+
784
802
def test_datalink_querier_load_data_vot (mock_datalink_querier ):
785
803
result_dict = mock_datalink_querier .load_data (ids = [5937083312263887616 ], data_release = 'Gaia DR3' ,
786
804
data_structure = 'INDIVIDUAL' ,
You can’t perform that action at this time.
0 commit comments