Skip to content

Commit d8b46f0

Browse files
committed
MArk remote tests
1 parent 2ec8cc0 commit d8b46f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sbpy/data/utils/tests/test_dastcom5.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def test_read_record(mock_open, mock_np_fromfile, mock_read_headers):
5959
)
6060

6161

62+
@pytest.mark.remote_data
6263
@mock.patch("sbpy.data.utils.dastcom5.os.makedirs")
6364
@mock.patch("sbpy.data.utils.dastcom5.zipfile")
6465
@mock.patch("sbpy.data.utils.dastcom5.os.path.isdir")
@@ -76,6 +77,7 @@ def test_download_dastcom5_raises_error_when_folder_exists(
7677
)
7778

7879

80+
@pytest.mark.remote_data
7981
@mock.patch("sbpy.data.utils.dastcom5.urllib.request")
8082
@mock.patch("sbpy.data.utils.dastcom5.os.makedirs")
8183
@mock.patch("sbpy.data.utils.dastcom5.zipfile")
@@ -89,6 +91,7 @@ def test_download_dastcom5_creates_folder(
8991
mock_makedirs.assert_called_once_with(dastcom5.SBPY_LOCAL_PATH)
9092

9193

94+
@pytest.mark.remote_data
9295
@mock.patch("sbpy.data.utils.dastcom5.zipfile")
9396
@mock.patch("sbpy.data.utils.dastcom5.os.path.isdir")
9497
@mock.patch("sbpy.data.utils.dastcom5.urllib.request.urlretrieve")

0 commit comments

Comments
 (0)