<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/tests/utils.py, branch 3.4.0</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>Move tests into project package.</title>
<updated>2013-07-01T03:30:54+00:00</updated>
<author>
<name>Monty Taylor</name>
<email>mordred@inaugust.com</email>
</author>
<published>2013-07-01T03:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=196daf859b1557fba24dbcf9870d3a834da86916'/>
<id>196daf859b1557fba24dbcf9870d3a834da86916</id>
<content type='text'>
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

Change-Id: Ic708ffd92aea78c2ffc1a8579af0587af4fca4ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are several reasons for this. One is that the majority of
OpenStack packages behave this way. The second is that it makes writing
software that extends something easier to test (which is a clear usecase
for openstackclient) And third, tests/__init__.py implies a global
package named "tests" - which I'm pretty sure we're not providing.

Change-Id: Ic708ffd92aea78c2ffc1a8579af0587af4fca4ff
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix py26 tests: assertDictEqual</title>
<updated>2013-06-25T15:35:22+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2013-06-10T19:06:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=bc3039a43c5d4f783e8ef435ec43d4eee5e2f83a'/>
<id>bc3039a43c5d4f783e8ef435ec43d4eee5e2f83a</id>
<content type='text'>
assertDictEqual is not present in py26 so shim it in here
stolen from python-keystoneclient/tests/test_auth_token_middleware.py

Change-Id: Ifd5990a8c03d11ee93cddc2f61653255970d974c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
assertDictEqual is not present in py26 so shim it in here
stolen from python-keystoneclient/tests/test_auth_token_middleware.py

Change-Id: Ifd5990a8c03d11ee93cddc2f61653255970d974c
</pre>
</div>
</content>
</entry>
<entry>
<title>First pass at adding compute unit tests.</title>
<updated>2013-01-28T23:58:59+00:00</updated>
<author>
<name>Josh Kearney</name>
<email>josh@jk0.org</email>
</author>
<published>2013-01-24T18:33:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=4297e5781b03bad1c67cfdaa6cfdb73f6d1385de'/>
<id>4297e5781b03bad1c67cfdaa6cfdb73f6d1385de</id>
<content type='text'>
Change-Id: Icf3340d457f75eec89bb0e5c9b4b953c3b81020f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Icf3340d457f75eec89bb0e5c9b4b953c3b81020f
</pre>
</div>
</content>
</entry>
<entry>
<title>Standardize on a copyright header and ensure all files have them.</title>
<updated>2013-01-24T18:02:23+00:00</updated>
<author>
<name>Josh Kearney</name>
<email>josh@jk0.org</email>
</author>
<published>2013-01-24T18:00:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=0a4912f9fb07a7330a2527af4cc7c8949c685401'/>
<id>0a4912f9fb07a7330a2527af4cc7c8949c685401</id>
<content type='text'>
Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate from nose to testr.</title>
<updated>2013-01-22T18:16:09+00:00</updated>
<author>
<name>Josh Kearney</name>
<email>josh@jk0.org</email>
</author>
<published>2013-01-22T17:09:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=63c8bb5306d15c7679b2cd1d22b6ee556967863d'/>
<id>63c8bb5306d15c7679b2cd1d22b6ee556967863d</id>
<content type='text'>
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I560592186f2f440049a451a32e58067262ab62d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run tests with testr for parallel execution.

Part of blueprint grizzly-testtools.

Change-Id: I560592186f2f440049a451a32e58067262ab62d0
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up test environment and remove unused imports.</title>
<updated>2013-01-22T17:44:18+00:00</updated>
<author>
<name>Josh Kearney</name>
<email>josh@jk0.org</email>
</author>
<published>2013-01-21T19:44:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=c1ea2989049c102fde0ea22ac06d066a34d7b0db'/>
<id>c1ea2989049c102fde0ea22ac06d066a34d7b0db</id>
<content type='text'>
First round of adding more complete unit test coverage.

Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First round of adding more complete unit test coverage.

Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
</pre>
</div>
</content>
</entry>
<entry>
<title>Move from unittest2 to testtools</title>
<updated>2013-01-15T21:59:59+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2012-12-27T17:50:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=fe3123b802cae77cf14d161cf6460a3264e6e4c2'/>
<id>fe3123b802cae77cf14d161cf6460a3264e6e4c2</id>
<content type='text'>
Change-Id: I475a082af0660e0ee0e86ca4cd1bf0e2d711e3ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I475a082af0660e0ee0e86ca4cd1bf0e2d711e3ed
</pre>
</div>
</content>
</entry>
<entry>
<title>Create tests for shell interface</title>
<updated>2012-06-22T15:20:04+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2012-06-20T15:05:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=f9aa3f3c844d35998361aa08e8c4f821b5d0bc90'/>
<id>f9aa3f3c844d35998361aa08e8c4f821b5d0bc90</id>
<content type='text'>
* use unittest2
* shell: command-line options

Change-Id: I558fb10b8607e4f6e5c44d5fcac902546a8748a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use unittest2
* shell: command-line options

Change-Id: I558fb10b8607e4f6e5c44d5fcac902546a8748a4
</pre>
</div>
</content>
</entry>
<entry>
<title>Add openstack-common and test infrastructure.</title>
<updated>2012-04-28T22:27:34+00:00</updated>
<author>
<name>James E. Blair</name>
<email>jeblair@hp.com</email>
</author>
<published>2012-04-28T22:21:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=95c2f27fa46d44f9eacfc44954b74ce9cc4becd3'/>
<id>95c2f27fa46d44f9eacfc44954b74ce9cc4becd3</id>
<content type='text'>
Fix pep8 errors (project is pep8 clean now).

Update setup.py to use openstack-common style dependencies.

Remove the unused novaclient dependency.

Change the keystoneclient dependency to a git URL.

Add test-requires, and move some pip-requires dependencies
into it.

Remove the test_utils unit test which wasn't testing anything
that is actually present in the project.

Add the test_authors unit test.

Use tox for running tests locally.

See: http://wiki.openstack.org/ProjectTestingInterface

Tox can manage virtualenvs, and is currently doing so for running
tests in Jenkins. It's just as, or more, useful for running tests
locally, so this starts the migration from the run_tests system to
tox. The goal is to reduce duplicate testing infrastructure, and
get what's running locally on developer workstations as close to
what is run by Jenkins as possible.

Run_tests.sh will now call tox to facilitate the transition for
developers used to typing "run_tests.sh".

Developers will need tox installed on their workstations. It can
be installed from PyPI with "pip install tox". run_tests.sh outputs
those instructions if tox is not present.

New facilities are available using tox directly, including:

tox -e py26 # run tests under python 2.6
tox -e py27 # run tests under python 2.7
tox -e pep8 # run pep8 tests
tox # run all of the above
tox -e venv foo # run the command "foo" inside a virtualenv

The OpenStack nose plugin is used when running tox from the
command line, so the enhanced, colorized output is visible to
developers running the test suite locally. However, when Jenkins
runs tox, xunit output will be used instead, which is natively
understood by jenkins and much more readable in that context.

Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix pep8 errors (project is pep8 clean now).

Update setup.py to use openstack-common style dependencies.

Remove the unused novaclient dependency.

Change the keystoneclient dependency to a git URL.

Add test-requires, and move some pip-requires dependencies
into it.

Remove the test_utils unit test which wasn't testing anything
that is actually present in the project.

Add the test_authors unit test.

Use tox for running tests locally.

See: http://wiki.openstack.org/ProjectTestingInterface

Tox can manage virtualenvs, and is currently doing so for running
tests in Jenkins. It's just as, or more, useful for running tests
locally, so this starts the migration from the run_tests system to
tox. The goal is to reduce duplicate testing infrastructure, and
get what's running locally on developer workstations as close to
what is run by Jenkins as possible.

Run_tests.sh will now call tox to facilitate the transition for
developers used to typing "run_tests.sh".

Developers will need tox installed on their workstations. It can
be installed from PyPI with "pip install tox". run_tests.sh outputs
those instructions if tox is not present.

New facilities are available using tox directly, including:

tox -e py26 # run tests under python 2.6
tox -e py27 # run tests under python 2.7
tox -e pep8 # run pep8 tests
tox # run all of the above
tox -e venv foo # run the command "foo" inside a virtualenv

The OpenStack nose plugin is used when running tox from the
command line, so the enhanced, colorized output is visible to
developers running the test suite locally. However, when Jenkins
runs tox, xunit output will be used instead, which is natively
understood by jenkins and much more readable in that context.

Change-Id: Ib627be3b37b5a09d3795006d412ddcc35f8c6c1e
</pre>
</div>
</content>
</entry>
<entry>
<title>Set up common utils</title>
<updated>2012-04-25T21:10:05+00:00</updated>
<author>
<name>Dean Troyer</name>
<email>dtroyer@gmail.com</email>
</author>
<published>2012-04-25T21:10:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/python-openstackclient.git/commit/?id=06f82305b56015df6496bf9a2d40ef4f93726454'/>
<id>06f82305b56015df6496bf9a2d40ef4f93726454</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
