File: Mark-test-that-uses-remote-data.patch

package info (click to toggle)
specutils 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,492 kB
  • sloc: python: 13,389; makefile: 111
file content (21 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Thu, 24 Feb 2022 20:43:49 +0100
Subject: Mark test that uses remote data

This one tries to load some IERS data in case they are taken as "outdated"
---
 specutils/tests/test_spectral_axis.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/specutils/tests/test_spectral_axis.py b/specutils/tests/test_spectral_axis.py
index c1aeac9..256a74b 100644
--- a/specutils/tests/test_spectral_axis.py
+++ b/specutils/tests/test_spectral_axis.py
@@ -20,6 +20,7 @@ def get_greenwich_earthlocation():
     return site_registry.get('greenwich')
 
 
+@pytest.mark.remote_data
 def test_create_spectral_axis():
 
     site = get_greenwich_earthlocation()