From d0bdb7e7f4fd9fce7af4f6bfa15fecb14ea7e088 Mon Sep 17 00:00:00 2001 From: Andrew Straw Date: Wed, 14 Aug 2013 06:44:33 +0200 Subject: [PATCH] testing: python: allow test data dirnames to be importable --- python/test/test_mcsc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/test/test_mcsc.py b/python/test/test_mcsc.py index 68cd6f4..acb8116 100644 --- a/python/test/test_mcsc.py +++ b/python/test/test_mcsc.py @@ -15,10 +15,10 @@ def _get_data_path(): SRC_PATH = _get_src_path() DATA_PATH = _get_data_path() +cal_dirnames = ['caldata20130726_122220', 'DATA20100906_134124' ] def test_mcsc(): - paths = ['caldata20130726_122220', 'DATA20100906_134124' ] - for path in paths: + for path in cal_dirnames: yield check_mcsc, path def check_mcsc(path):