summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2017-09-20 16:41:31 -0600
committerChad Smith <chad.smith@canonical.com>2017-09-20 16:41:31 -0600
commitd3a8777244ebc107e1124c4fab441b5e0eb75f44 (patch)
tree9f58149a2880c728845dabfa9db5c50fcdd77fbd /Makefile
parent82b2da3a56680b43df00ed31837b8650b5971656 (diff)
downloadvyos-cloud-init-d3a8777244ebc107e1124c4fab441b5e0eb75f44.tar.gz
vyos-cloud-init-d3a8777244ebc107e1124c4fab441b5e0eb75f44.zip
tests: Add cloudinit package to all test targets
The package cloudinit was sparsely added to only the makefile's unittest target and tox's py3 target. This branch adds cloudinit package to 'make unittest3' and all tox environments. It tweaks one cloudinit unit test to use mocked_object.call_count instead of mocked_object.assert_called_once which is not defined in some python unittest versions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7feea400..4ace2270 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ unittest: clean_pyc
nosetests $(noseopts) tests/unittests cloudinit
unittest3: clean_pyc
- nosetests3 $(noseopts) tests/unittests
+ nosetests3 $(noseopts) tests/unittests cloudinit
ci-deps-ubuntu:
@$(PYVER) $(CWD)/tools/read-dependencies --distro ubuntu --test-distro