From d904776484163521456ced0a8f432ae944c67358 Mon Sep 17 00:00:00 2001 From: Nathan Stocks Date: Thu, 11 Apr 2019 12:24:43 -0600 Subject: [PATCH] Tweak a new junit test introduced in #204 so it doesn't pull in examples/ into our testing coverage. --- green/test/test_cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/green/test/test_cmdline.py b/green/test/test_cmdline.py index f661641..59595f9 100644 --- a/green/test/test_cmdline.py +++ b/green/test/test_cmdline.py @@ -160,8 +160,8 @@ def test_generate_junit_test_report(self): report = join(tmpdir, "test_report.xml") self.assertFalse(isfile(report)) - argv = ["--junit-report", report, "example/proj" ] - cmdline.main(argv) + argv = ["--junit-report", report] + cmdline.main(argv, testing=True) self.assertTrue(isfile(report)) shutil.rmtree(tmpdir)