Skip to content

Commit 6845bc8

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
GAIAMNGT-1700 Fix code style issues
1 parent 6aa4f6b commit 6845bc8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

astroquery/gaia/tests/test_gaiatap.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def mock_datalink_querier():
185185

186186
return GaiaClass(tap_plus_conn_handler=conn_handler, datalink_handler=tapplus, show_server_messages=False)
187187

188+
188189
@pytest.fixture(scope="module")
189190
def mock_datalink_querier_ecsv():
190191
conn_handler = DummyConnHandler()
@@ -779,9 +780,9 @@ def test_cone_search_and_changing_MAIN_GAIA_TABLE(mock_querier_async):
779780
job = mock_querier_async.cone_search_async(SKYCOORD, radius=RADIUS)
780781
assert "name_from_class" in job.parameters["query"]
781782

783+
782784
@pytest.mark.parametrize("overwrite_output_file", [False, True])
783785
def test_datalink_querier_load_data_vot_exception(mock_datalink_querier, overwrite_output_file):
784-
785786
file_final = os.path.join(os.getcwd(), 'datalink_output.zip')
786787
Path(file_final).touch()
787788

@@ -800,8 +801,9 @@ def test_datalink_querier_load_data_vot_exception(mock_datalink_querier, overwri
800801
verbose=False)
801802

802803
assert str(
803-
excinfo.value) == (f"{file_final} file already exists. Please use overwrite_output_file='True' to overwrite "
804-
f"output file.")
804+
excinfo.value) == (
805+
f"{file_final} file already exists. Please use overwrite_output_file='True' to overwrite "
806+
f"output file.")
805807

806808
else:
807809
mock_datalink_querier.load_data(ids=[5937083312263887616], data_release='Gaia DR3',

0 commit comments

Comments
 (0)