Skip to content

Commit 3288da0

Browse files
committed
TST: use temp directory for downloads
1 parent 1130215 commit 3288da0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astroquery/esa/xmm_newton/tests/test_xmm_newton_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_get_epic_metadata(self):
190190
radius))
191191
assert report_diff_values(slew_source, table)
192192

193-
def test_download_proprietary_data_incorrect_credentials(self):
193+
def test_download_proprietary_data_incorrect_credentials(self, tmp_cwd):
194194
parameters = {'observation_id': "0762470101",
195195
'prop': 'True',
196196
'credentials_file': "astroquery/esa/xmm_newton/tests/data/dummy_config.ini",
@@ -204,7 +204,7 @@ def test_download_proprietary_data_incorrect_credentials(self):
204204
with pytest.raises(LoginError):
205205
xsa.download_data(**parameters)
206206

207-
def test_download_proprietary_data_without_credentials(self):
207+
def test_download_proprietary_data_without_credentials(self, tmp_cwd):
208208
parameters = {'observation_id': "0883780101",
209209
'level': "PPS",
210210
'name': 'OBSMLI',

0 commit comments

Comments
 (0)