<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cloud-init.git/tests/unittests/test__init__.py, branch trunk</title>
<subtitle>launchpad.net: Obsolete (use cloud-init-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/'/>
<entry>
<title>README: Mention move of revision control to git.</title>
<updated>2016-08-10T15:06:15+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-08-10T15:06:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=c3c3dc693c14175e110b5fe125d4d5f98ace9700'/>
<id>c3c3dc693c14175e110b5fe125d4d5f98ace9700</id>
<content type='text'>
cloud-init development has moved its revision control to git.
It is available at 
  https://code.launchpad.net/cloud-init

Clone with 
  git clone https://git.launchpad.net/cloud-init
or
  git clone git+ssh://git.launchpad.net/cloud-init

For more information see
  https://git.launchpad.net/cloud-init/tree/HACKING.rst
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cloud-init development has moved its revision control to git.
It is available at 
  https://code.launchpad.net/cloud-init

Clone with 
  git clone https://git.launchpad.net/cloud-init
or
  git clone git+ssh://git.launchpad.net/cloud-init

For more information see
  https://git.launchpad.net/cloud-init/tree/HACKING.rst
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix up tests and flake8 warnings</title>
<updated>2016-05-19T22:33:15+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2016-05-19T22:33:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=e9495c6de428c9cd2fab52805c3345f4ab0d34ee'/>
<id>e9495c6de428c9cd2fab52805c3345f4ab0d34ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix py26 for rhel (and older versions of python)</title>
<updated>2016-05-11T21:18:02+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2016-05-11T21:18:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=889556b260c8a29ded76fd7cbbabc1a5320da183'/>
<id>889556b260c8a29ded76fd7cbbabc1a5320da183</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix TestHandlerHandlePart tests</title>
<updated>2015-07-21T16:02:44+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-07-21T16:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=c883331906c3fbf64344f5bb4db000da033ac300'/>
<id>c883331906c3fbf64344f5bb4db000da033ac300</id>
<content type='text'>
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
expectations:
 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
expectations:
 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
</pre>
</div>
</content>
</entry>
<entry>
<title>get_cmdline_url: fix in python3 when calling</title>
<updated>2015-03-02T20:56:15+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-03-02T20:56:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=590515f040fc67d450349ca20118e6acccc4b169'/>
<id>590515f040fc67d450349ca20118e6acccc4b169</id>
<content type='text'>
get_cmdline_url was passing a string to response.contents.startswith()
where response.contents is now bytes.

this changes it to convert input to text, and also to default to text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
get_cmdline_url was passing a string to response.contents.startswith()
where response.contents is now bytes.

this changes it to convert input to text, and also to default to text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Repair the Python 2.6 tests.</title>
<updated>2015-01-27T01:02:31+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2015-01-27T01:02:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=71c6b03d542f3b2adb081c5211257267267c6bcb'/>
<id>71c6b03d542f3b2adb081c5211257267267c6bcb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use .addCleanup() instead of a .tearDown() where appropriate, although we</title>
<updated>2015-01-22T19:46:21+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2015-01-22T19:46:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=5d1edaff81874ebbaa011b73302ab80ecf0afeb7'/>
<id>5d1edaff81874ebbaa011b73302ab80ecf0afeb7</id>
<content type='text'>
might have to rewrite this for Python 2.6.

Disable Cepko tests (test_cs_util.py) since they are essentially worthless.

Convert test_azure to unittest.mock.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
might have to rewrite this for Python 2.6.

Disable Cepko tests (test_cs_util.py) since they are essentially worthless.

Convert test_azure to unittest.mock.
</pre>
</div>
</content>
</entry>
<entry>
<title>Port test__init__.py to unittest.mock.</title>
<updated>2015-01-22T16:38:51+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2015-01-22T16:38:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=ab0bff66f61c0c1d69a155d334bf6da81cf57699'/>
<id>ab0bff66f61c0c1d69a155d334bf6da81cf57699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix file modes to be Python 2/3 compatible.</title>
<updated>2015-01-21T20:35:56+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2015-01-21T20:35:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=239519a75d6718581f6bcaedd3774b59d46db288'/>
<id>239519a75d6718581f6bcaedd3774b59d46db288</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>further remove evidence of pylint.</title>
<updated>2014-08-26T19:53:41+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2014-08-26T19:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cloud-init.git/commit/?id=6b2fc2034a5dde3935961f31d76140ccd7e0c2e8'/>
<id>6b2fc2034a5dde3935961f31d76140ccd7e0c2e8</id>
<content type='text'>
This just removes comments '# pylint:' things and other code
remnents of pylint.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This just removes comments '# pylint:' things and other code
remnents of pylint.
</pre>
</div>
</content>
</entry>
</feed>
