From eac8aa9137c62d3f1a8fe20ef7bde7560b6d4aca Mon Sep 17 00:00:00 2001 From: sxd Date: Thu, 7 Jul 2016 15:09:15 +0800 Subject: fix tox error when run unittest Currently when run "tox -epep8" it's ok, but it will be error when run "tox -epy27" or run "tox -epy34", the reason is no file .testr.conf and .converagerc in project root directory Change-Id: Ic6ab721738692c389d63bc2d84a4c2a21b397778 JIRA: PARSER-62 Signed-off-by: sxd --- tosca2heat/tosca-parser/.testr.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tosca2heat/tosca-parser/.testr.conf (limited to 'tosca2heat/tosca-parser/.testr.conf') diff --git a/tosca2heat/tosca-parser/.testr.conf b/tosca2heat/tosca-parser/.testr.conf new file mode 100644 index 0000000..fb62267 --- /dev/null +++ b/tosca2heat/tosca-parser/.testr.conf @@ -0,0 +1,7 @@ +[DEFAULT] +test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ + OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ + OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ + ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION +test_id_option=--load-list $IDFILE +test_list_option=--list \ No newline at end of file -- cgit 1.2.3-korg