diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..9a7dc36 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,11 @@ +[run] +branch = True +source = watcherclient +omit = + watcherclient/tests/* + +[report] +ignore_errors = True +exclude_lines = + @abc.abstract + raise NotImplementedError diff --git a/.stestr.conf b/.stestr.conf index 7452f58..14b8dcc 100644 --- a/.stestr.conf +++ b/.stestr.conf @@ -1,3 +1,3 @@ [DEFAULT] -test_path=./watcherclient/tests/functional +test_path=./watcherclient/tests/unit top_dir=./ diff --git a/.zuul.yaml b/.zuul.yaml index b1a52be..72b6230 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,5 +1,6 @@ - project: templates: + - openstack-cover-jobs - openstack-lower-constraints-jobs - openstack-python-jobs - openstack-python35-jobs