Skip to content

Commit 08e57d7

Browse files
authored
Merge pull request #2287 from eerovaher/rm-testing-tools
Remove `astroquery/utils/testing_tools.py`
2 parents 27515e4 + 0bd6724 commit 08e57d7

File tree

38 files changed

+38
-69
lines changed

38 files changed

+38
-69
lines changed

CHANGES.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ mast
3333
Infrastructure, Utility and Other Changes and Additions
3434
-------------------------------------------------------
3535

36-
36+
- The obsolete file ``astroquery/utils/testing_tools.py`` has been removed.
37+
[#2287]
3738

3839

3940
0.4.5 (2021-12-24)

astroquery/alfalfa/tests/test_alfalfa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from astropy import coordinates
66
import pytest
77
from ...utils import commons
8-
from ...utils.testing_tools import MockResponse
8+
from astroquery.utils.mocks import MockResponse
99
from ... import alfalfa
1010

1111
DATA_FILES = {'catalog': 'alfalfa_cat_small.txt',

astroquery/besancon/tests/test_besancon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from astropy.io.ascii.tests.common import assert_equal
77
from ... import besancon
88
from ...utils import commons
9-
from ...utils.testing_tools import MockResponse
9+
from astroquery.utils.mocks import MockResponse
1010

1111
# SKIP - don't run tests because Besancon folks don't want them (based on
1212
# the fact that [email protected] is now rejected)

astroquery/cds/tests/test_mocserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
HAS_REGIONS = False
2222

2323
from ..core import cds
24-
from ...utils.testing_tools import MockResponse
24+
from astroquery.utils.mocks import MockResponse
2525

2626

2727
DATA_FILES = {

astroquery/esa/hubble/tests/test_esa_hubble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from requests.models import Response
1818
from astroquery.esa.hubble import ESAHubbleClass
1919
from astroquery.esa.hubble.tests.dummy_tap_handler import DummyHubbleTapHandler
20-
from astroquery.utils.testing_tools import MockResponse
20+
from astroquery.utils.mocks import MockResponse
2121
from astropy import coordinates
2222
from unittest.mock import MagicMock
2323
from astropy.table.table import Table

astroquery/eso/tests/test_eso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Licensed under a 3-clause BSD style license - see LICENSE.rst
22
import os
3-
from ...utils.testing_tools import MockResponse
3+
from astroquery.utils.mocks import MockResponse
44

55
from ...eso import Eso
66

astroquery/fermi/tests/test_fermi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import requests
55
import pytest
66
import astropy.coordinates as coord
7-
from ...utils.testing_tools import MockResponse
7+
from astroquery.utils.mocks import MockResponse
88
from ... import fermi
99

1010
DATA_FILES = {'async': "query_result_m31.html",

astroquery/image_cutouts/first/tests/test_first.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import astropy.units as u
77

88
from ....utils import commons
9-
from ....utils.testing_tools import MockResponse
9+
from astroquery.utils.mocks import MockResponse
1010
from ... import first
1111

1212
DATA_FILES = {'image': 'image.fits'}

astroquery/imcce/tests/test_miriade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55

66
import astropy.units as u
7-
from ...utils.testing_tools import MockResponse
7+
from astroquery.utils.mocks import MockResponse
88

99
from .. import Miriade, MiriadeClass
1010

astroquery/imcce/tests/test_skybot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import pytest
44
import os
55

6-
from astroquery.utils.testing_tools import MockResponse
6+
from astroquery.utils.mocks import MockResponse
77
import astropy.units as u
88
from astropy.time import Time
99
from astropy.coordinates import SkyCoord, Angle

0 commit comments

Comments
 (0)