diff --git a/workflow/tests/test_pool_and_psuedoreplicate.py b/workflow/tests/test_pool_and_psuedoreplicate.py index c641086f5ad9bdb4c445186b225e019d46eaab26..7bb26c32f7ce73f78ecbd8fc680e30f9b15e5398 100644 --- a/workflow/tests/test_pool_and_psuedoreplicate.py +++ b/workflow/tests/test_pool_and_psuedoreplicate.py @@ -62,7 +62,10 @@ def test_check_controls_single(design_experiment_3): @pytest.mark.unit def test_single_rep(design_experiment_2): - single_rep = pool_and_psuedoreplicate.main(['true', design_experiment_2, 1.2]) + sys.argv.extend(['-d', design_experiment_2]) + sys.argv.extend(['-p', true]) + sys.argv.extend(['-c', 1.2]) + single_rep = pool_and_psuedoreplicate.main() @pytest.mark.singleend