From 9d0a68e95386b93e6497d700ff82537b4311f42d Mon Sep 17 00:00:00 2001
From: Jeremy Mathews <Jeremy.Mathews@utsouthwestern.edu>
Date: Wed, 17 Jul 2019 14:03:21 -0500
Subject: [PATCH] Update file location

---
 workflow/tests/test_pool_and_psuedoreplicate.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/workflow/tests/test_pool_and_psuedoreplicate.py b/workflow/tests/test_pool_and_psuedoreplicate.py
index 122baa3..245da61 100644
--- a/workflow/tests/test_pool_and_psuedoreplicate.py
+++ b/workflow/tests/test_pool_and_psuedoreplicate.py
@@ -7,6 +7,8 @@ import os
 import pool_and_psuedoreplicate
 import shutil
 
+test_design_path = os.path.dirname(os.path.abspath(__file__)) + \
+		'/../../test_data/'
 test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
                 '/../output/design/'
 
@@ -63,7 +65,7 @@ def test_check_controls_single(design_experiment_3):
 @pytest.mark.unit
 def test_single_rep(design_experiment_2):
     cwd = os.getcwd()
-    shutil.copy(test_output_path + '../../../test_data/B_1.bedse.gz', cwd)
+    shutil.copy(test_design_path + 'B_1.bedse.gz', cwd)
     single_rep = pool_and_psuedoreplicate.generate_design('false', 1.2, design_experiment_2, cwd, 1, 1)
 
 
-- 
GitLab