Commit f49d3238 authored by Thomas Vincent's avatar Thomas Vincent

Update tests to new projection implementation

parent f6dea406
......@@ -133,17 +133,8 @@ class TestPeakFitter(ParametricTestCase):
def setUpClass(cls):
config.DEFAULT_PROCESS_NUMBER = 2 # Limit number of processes
cls._tmpdir = tempfile.mkdtemp()
test_resources.getdir('qspace.zip')
test_resources.getdir('fit_2018_03.zip')
@classmethod
def tearDownClass(cls):
tmpdir = cls._tmpdir
if tmpdir is not None:
shutil.rmtree(tmpdir)
cls._tmpdir = None
test_resources.getdir('fit_2018_12.zip')
def setUp(self):
self._tmpTestDir = tempfile.mkdtemp()
......@@ -183,7 +174,7 @@ class TestPeakFitter(ParametricTestCase):
results.to_fit_h5(fit_out)
fit_ref = test_resources.getfile(
'fit_2018_03/{0}'.format(params['fit_f']))
'fit_2018_12/{0}'.format(params['fit_f']))
fit_ref_h5 = FitH5(fit_ref)
fit_out_h5 = FitH5(fit_out)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment