summaryrefslogtreecommitdiffstats
path: root/tosca2heat
diff options
context:
space:
mode:
Diffstat (limited to 'tosca2heat')
-rw-r--r--tosca2heat/heat-translator/.coveragerc7
-rw-r--r--tosca2heat/heat-translator/.testr.conf7
-rw-r--r--tosca2heat/tosca-parser/.coveragerc7
-rw-r--r--tosca2heat/tosca-parser/.testr.conf7
4 files changed, 28 insertions, 0 deletions
diff --git a/tosca2heat/heat-translator/.coveragerc b/tosca2heat/heat-translator/.coveragerc
new file mode 100644
index 0000000..6c9ae08
--- /dev/null
+++ b/tosca2heat/heat-translator/.coveragerc
@@ -0,0 +1,7 @@
+[run]
+branch = True
+source = translator
+omit = translator/openstack/*
+
+[report]
+ignore_errors = True
diff --git a/tosca2heat/heat-translator/.testr.conf b/tosca2heat/heat-translator/.testr.conf
new file mode 100644
index 0000000..fb62267
--- /dev/null
+++ b/tosca2heat/heat-translator/.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
diff --git a/tosca2heat/tosca-parser/.coveragerc b/tosca2heat/tosca-parser/.coveragerc
new file mode 100644
index 0000000..3309d46
--- /dev/null
+++ b/tosca2heat/tosca-parser/.coveragerc
@@ -0,0 +1,7 @@
+[run]
+branch = True
+source = toscaparser
+omit = toscaparser/openstack/*
+
+[report]
+ignore_errors = True
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