|
23 | 23 |
|
24 | 24 | from astroquery.utils.tap.conn.tests.DummyConnHandler import DummyConnHandler
|
25 | 25 | from astroquery.utils.tap.conn.tests.DummyResponse import DummyResponse
|
26 |
| -from astroquery.utils.tap.core import TapPlus, TAP_CLIENT_ID |
| 26 | +from astroquery.utils.tap.core import TapPlus |
27 | 27 | from astroquery.utils.tap.xmlparser import utils
|
28 | 28 | from astroquery.utils.tap import taputils
|
29 | 29 |
|
@@ -164,7 +164,7 @@ def test_launch_sync_job():
|
164 | 164 | "REQUEST": "doQuery",
|
165 | 165 | "LANG": "ADQL",
|
166 | 166 | "FORMAT": "votable",
|
167 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 167 | + "tapclient": str(tap.tap_client_id), |
168 | 168 | "PHASE": "RUN",
|
169 | 169 | "QUERY": str(q)}
|
170 | 170 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
@@ -228,7 +228,7 @@ def test_launch_sync_job_redirect():
|
228 | 228 | "REQUEST": "doQuery",
|
229 | 229 | "LANG": "ADQL",
|
230 | 230 | "FORMAT": "votable",
|
231 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 231 | + "tapclient": str(tap.tap_client_id), |
232 | 232 | "PHASE": "RUN",
|
233 | 233 | "QUERY": str(q)}
|
234 | 234 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
@@ -310,7 +310,7 @@ def test_launch_async_job():
|
310 | 310 | "REQUEST": "doQuery",
|
311 | 311 | "LANG": "ADQL",
|
312 | 312 | "FORMAT": "votable",
|
313 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 313 | + "tapclient": str(tap.tap_client_id), |
314 | 314 | "PHASE": "RUN",
|
315 | 315 | "QUERY": str(query)}
|
316 | 316 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
@@ -393,7 +393,7 @@ def test_start_job():
|
393 | 393 | "REQUEST": "doQuery",
|
394 | 394 | "LANG": "ADQL",
|
395 | 395 | "FORMAT": "votable",
|
396 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 396 | + "tapclient": str(tap.tap_client_id), |
397 | 397 | "QUERY": str(query)}
|
398 | 398 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
399 | 399 | req = f"async?{sortedKey}"
|
@@ -451,7 +451,7 @@ def test_abort_job():
|
451 | 451 | "LANG": "ADQL",
|
452 | 452 | "FORMAT": "votable",
|
453 | 453 | "MAXREC": 10,
|
454 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 454 | + "tapclient": str(tap.tap_client_id), |
455 | 455 | "QUERY": str(query)}
|
456 | 456 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
457 | 457 | req = f"async?{sortedKey}"
|
@@ -485,7 +485,7 @@ def test_job_parameters():
|
485 | 485 | "LANG": "ADQL",
|
486 | 486 | "FORMAT": "votable",
|
487 | 487 | "MAXREC": 10,
|
488 |
| - "tapclient": str(TAP_CLIENT_ID), |
| 488 | + "tapclient": str(tap.tap_client_id), |
489 | 489 | "QUERY": str(query)}
|
490 | 490 | sortedKey = taputils.taputil_create_sorted_dict_key(dictTmp)
|
491 | 491 | req = f"async?{sortedKey}"
|
|
0 commit comments