Skip to content

Commit 4a41858

Browse files
authored
Merge pull request #2631 from eerovaher/undo-gaia-test-change
Remove unused code from `gaia` test setup
2 parents 608e9ec + b0e7b2a commit 4a41858

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

astroquery/gaia/tests/test_gaiatap.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import numpy as np
3333
from astroquery.utils.tap.xmlparser import utils
3434
from astroquery.utils.tap.core import TapPlus
35-
from astroquery.utils.tap import taputils
3635

3736

3837
job_data = utils.read_file_content(Path(__file__).parent.joinpath("data", "job_1.vot"))
@@ -84,20 +83,6 @@ def mock_querier_async():
8483
results_response.set_data(method="GET", body=job_data)
8584
conn_handler.set_response("async/" + jobid + "/results/result", results_response)
8685

87-
dict_tmp = {
88-
"REQUEST": "doQuery",
89-
"LANG": "ADQL",
90-
"FORMAT": "votable",
91-
"tapclient": tapplus.tap_client_id,
92-
"PHASE": "RUN",
93-
"QUERY": (
94-
"SELECT crossmatch_positional('schemaA','tableA','schemaB','tableB',1.0,"
95-
"'results')FROM dual;"
96-
)
97-
}
98-
sorted_key = taputils.taputil_create_sorted_dict_key(dict_tmp)
99-
conn_handler.set_response("sync?" + sorted_key, launch_response)
100-
10186
return GaiaClass(conn_handler, tapplus, show_server_messages=False)
10287

10388

0 commit comments

Comments
 (0)