• Committer: Scott Moser
  • Date: 2015-07-21 16:02:44 UTC
  • Revision ID: smoser@ubuntu.com-20150721160244-5rgzime1kd61dtce
tests: fix TestHandlerHandlePart tests

these tests were previously passing, but doing so erroneously.
I believe that an update to mock caused them to start failing.

I've updated the tests now.  The simple change is
replacing 'assert_called_with_once' with 'assert_called_once_with'.

The second set of changes is seemingly a correction of the following tests
 test_normal_version_2 : was not expecting to get frequency passed into
    handle_part, but should have been.
 test_no_handle_when_modfreq_once: was expecting to have handle_part
    called even though the test implies otherwise.
 test_exception_is_caught: this test just looked broken.
    Now, we're testing that the part handler is called and that no
    exception is raised past handle_part
Filename Latest Rev Last Changed Committer Comment Size
bin 559.2.1 11 years ago Joshua Harlow Move binaries to an actual binary dir. Diff
cloudinit 144 14 years ago Scott Moser globally remove ec2init and rename to cloudinit Diff
config 271 13 years ago Scott Moser remove 'biultin' config, separate cloud.cfg This Diff
doc 133 14 years ago Scott Moser add doc/userdata.txt, move examples to doc/. Diff
packages 559.2.335 11 years ago Joshua Harlow 1. Moving around the packages dir. 2. Adjusting th Diff
systemd 465 12 years ago Scott Moser Add sample/example systemd config files This impo Diff
sysvinit 559.2.435 11 years ago Scott Moser setup.py: rename "daemon type" to "init system" T Diff
templates 14 14 years ago Bazaar Package Importer * ec2-set-apt-sources.py: - Use a template to ge Diff
tests 499.1.1 12 years ago Mike Milner Add initial unit test framework. Add initial tests Diff
tools 82 14 years ago Scott Moser add tools/ directory and 'write-mime-multipart' w Diff
upstart 80 14 years ago Scott Moser put upstart files in upstart/, minor other changes Diff
.bzrignore 1052.1.3 9 years ago Barry Warsaw Fix file modes to be Python 2/3 compatible. 42 bytes Diff Download File
ChangeLog 1121 8 years ago Daniel Watkins Return a sensible value for DataSourceGCE.availabi 40.7 KB Diff Download File
HACKING.rst 1000.1.2 9 years ago Jay Faulkner Remove pylint pylint was not passing, and per smo 1.5 KB Diff Download File
LICENSE 450 12 years ago Scott Moser add LICENSE file 34.3 KB Diff Download File
Makefile 1099 8 years ago Scott Moser fix 'Make pyflakes' 1.4 KB Diff Download File
MANIFEST.in 1052.1.1 9 years ago Barry Warsaw * Added a simple tox.ini file * Use universal_newl 167 bytes Diff Download File
requirements.txt 1052.1.24 9 years ago Barry Warsaw Port the MAAS code to oauthlib. 948 bytes Diff Download File
File setup.py 1052.1.2 9 years ago Barry Warsaw Only install cheetah (and only run the cheetah tem 5.9 KB Diff Download File
test-requirements.txt 1052.1.38 9 years ago Scott Moser make bddeb work with python3 or python2 painful, 71 bytes Diff Download File
TODO.rst 978 9 years ago Scott Moser move TODO to TODO.rst 2.1 KB Diff Download File
tox.ini 1063 9 years ago Scott Moser tox: set LC_ALL=en_US.utf-8 rather than C this wo 462 bytes Diff Download File