From c9e8d528c15e2ce354f1e44b9e6ed07804433313 Mon Sep 17 00:00:00 2001 From: madsmpedersen <m@madsp.dk> Date: Mon, 21 Dec 2015 15:01:17 +0100 Subject: [PATCH] test --- .gitlab-ci.yml | 3 +-- wetb/hawc2/tests/test_shear_file.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8bdccbf5..33542f32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,5 +5,4 @@ before_script: test-3.4: image: python:3.4 script: - - pip install -e . - - pip install pytest \ No newline at end of file + - pip install -e . \ No newline at end of file diff --git a/wetb/hawc2/tests/test_shear_file.py b/wetb/hawc2/tests/test_shear_file.py index 4b92dbde..19f307ae 100644 --- a/wetb/hawc2/tests/test_shear_file.py +++ b/wetb/hawc2/tests/test_shear_file.py @@ -13,7 +13,7 @@ class TestShearFile(unittest.TestCase): def test_shearfile(self): - f = testfilepath + "tmp_shearfile.dat" + f = testfilepath + "tmp_shearfile1.dat" shear_file.save(f, [-55, 55], [30, 100, 160] , u=np.array([[0.7, 1, 1.3], [0.7, 1, 1.3]]).T) with open(f) as fid: self.assertEqual(fid.read(), @@ -43,7 +43,7 @@ class TestShearFile(unittest.TestCase): def test_shearfile2(self): - f = testfilepath + "tmp_shearfile.dat" + f = testfilepath + "tmp_shearfile2.dat" shear_file.save(f, [-55, 55], [30, 100, 160] , u=np.array([0.7, 1, 1.3]).T) with open(f) as fid: self.assertEqual(fid.read(), -- GitLab