From 13ef2d6e007a8203e3364f14e9e734674db1638f Mon Sep 17 00:00:00 2001 From: Will Holmgren Date: Sun, 1 Mar 2015 20:05:06 -0700 Subject: [PATCH] add network decorator --- pvlib/test/test_tmy.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pvlib/test/test_tmy.py b/pvlib/test/test_tmy.py index 9234556096..de7b2d2e75 100644 --- a/pvlib/test/test_tmy.py +++ b/pvlib/test/test_tmy.py @@ -4,6 +4,8 @@ import inspect import os +from pandas.util.testing import network + test_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) tmy3_testfile = os.path.join(test_dir, '../data/703165TY.csv') tmy2_testfile = os.path.join(test_dir, '../data/12839.tm2') @@ -13,7 +15,8 @@ def test_readtmy3(): tmy.readtmy3(tmy3_testfile) - + +@network def test_readtmy3_remote(): url = 'http://rredc.nrel.gov/solar/old_data/nsrdb/1991-2005/data/tmy3/703165TYA.CSV' tmy.readtmy3(url)