Commit Graph

212 Commits

Author SHA1 Message Date
OpenDev Sysadmins 93eb9c5a6d OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:06 +00:00
Danek Duvall 425d465122 Import mock so that it works on Python 3.x
Running oslotest's tests fail on Python 3.x because of the "import mock"
lines in test_output.py and test_timeout.py.  That works for 2.x because
"mock" is an independent package, but in 3.x, it's a part of unittest in
the standard library.  This difference is covered in six.moves, which is
where mock is imported from in other test modules.

Change-Id: I3882c2a9be8abc93cf95942579cb9562c6377c01
Closes-Bug: #1607963
2016-07-29 14:19:07 -07:00
Jenkins 3fc3c96164 Merge "Fix parameters of assertEqual are misplaced" 2016-07-22 11:56:46 +00:00
yan.haifeng 9c03983d78 Fix parameters of assertEqual are misplaced
Many assertEqual sentences don't follow assertEqual(expected, actual),
These misplaces have 2 impacts:
1, giving confusing messages when some tests failed.
2, mislead other developers, new test modules may follow these wrong pattern.

This patch fix all of them.

Change-Id: Ie9da006cc561e5266812db2bb1c03a624b5e844b
Closes-Bug: #1604213
2016-07-22 11:51:16 +08:00
OpenStack Proposal Bot 9779729a5e Updated from global requirements
Change-Id: Id80bdc33af53e417a278c28a30aa14fc9076f84b
2016-07-13 17:21:25 +00:00
ChangBo Guo(gcb) 7bff0fc012 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Ifd6a17b8e250f7ff8e36e972e175099044d7146e
2016-07-12 16:59:39 +08:00
OpenStack Proposal Bot a0eb1348de Updated from global requirements
Change-Id: I7a623d4583f8bda5b8f6242718b216ffe58fa041
2016-06-21 18:04:47 +00:00
OpenStack Proposal Bot 412073f870 Updated from global requirements
Change-Id: I995675b40fea0e8dc205512321d5c996b72f14be
2016-06-03 18:18:22 +00:00
Brant Knudson 9581cd0206 Remove mockpatch re-implementations
Rather than carry implementations of the moved classes in mockpatch,
just reference the symbols. Less maintenance for us.

The tests are removed since fixtures has its own tests.

Change-Id: Iab382a604321e09a01c3d795cd7bcd480dc249ce
2016-04-13 14:27:28 -05:00
OpenStack Proposal Bot 90a1004fdc Updated from global requirements
Change-Id: Ia770dc70e3af812eac7480c94a9088ab0e1cb79a
2016-04-08 00:32:30 +00:00
OpenStack Proposal Bot 4097ae585d Updated from global requirements
Change-Id: I74ea349f8e98567edfd8cfc570d75d657e7c2750
2016-04-07 17:13:36 +00:00
OpenStack Proposal Bot 4150952009 Updated from global requirements
Change-Id: I450140a30b4e59630d150f0c66693141e70383c3
2016-02-26 01:52:46 +00:00
Jenkins b2f6ab8a3d Merge "Add some gitignore files" 2016-02-23 15:40:11 +00:00
Jenkins 8070f1ab47 Merge "Fix misspelling" 2016-02-22 10:26:21 +00:00
Masayuki Igawa 548ccc8928 Add some gitignore files
This commit adds some .gitignore files. These come from the cookiecutter
repo. We should ignore some coverage, eggs, .venv related files.

Change-Id: I255584d8ae1c557e5529963e54268d5682cec647
2016-02-19 15:41:59 +09:00
Doug Hellmann 936a99dce0 move unit tests into the oslotest package
Move the tests directory into the package to be consistent with the way
we handle other libraries.

Change-Id: I9527242fe1d6aa0f7177309b05d8d1f5c8ccd396
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-02-18 12:44:16 +00:00
OpenStack Proposal Bot 130d2a02ea Updated from global requirements
Change-Id: I01e933c48b3ec04e5551f3347ce98f725bc59e15
2016-02-17 18:39:21 +00:00
Davanum Srinivas 7f098afd2d Hack to get back stopall cleanup behavior feature
So, calling addCleanup in __init__ is not supported anymore in
latest testtools. This breaks the support we used to have in
the base class that registered mock.patch.stopall right at the
beginning, so classes inheriting would not have to worry about
the cleanup. For Mitaka, we add a hack to make it work by
looking at the underlying _cleanups variable. This clearly needs
to be removed as soon as possible.

Closes-Bug: #1545576
Change-Id: I29a77224bfd9d106c711155e0cfc10eac0e6fe36
2016-02-17 06:54:22 -05:00
venkatamahesh 14a292b803 Fix misspelling
Change-Id: I763308d2d763c85fcdb9021114385477ad4b5a1d
2016-02-04 02:14:14 +00:00
OpenStack Proposal Bot cfe008fbe9 Updated from global requirements
Change-Id: Ifb463925a574b9320ad4e5649e3eedcae95d5537
2016-01-23 10:53:03 +00:00
OpenStack Proposal Bot 81249bb691 Updated from global requirements
Change-Id: I1b179b041588c2cf45fcc252ba92de9349d8a7c2
2016-01-16 03:31:38 +00:00
OpenStack Proposal Bot a6701f9f6f Updated from global requirements
Change-Id: I42d1d5903f299dfe04a59ab5fdd45909d14e10ad
2016-01-06 23:18:55 +00:00
ChangBo Guo(gcb) 4ada6a9860 Trival: Remove 'MANIFEST.in'
Everything in this file is automatically generated by pbr. There
appears to be no good reason to keep it around.
More details please see:
https://github.com/openstack-dev/pbr/blob/master/pbr/packaging.py#L384

Change-Id: I7f1b6cadc16f8656bc7e8bdcf6ca81783e1764f4
2015-12-05 13:58:32 +08:00
OpenStack Proposal Bot 4dbb9e2287 Updated from global requirements
Change-Id: I785eafe3721d30d356238edf07f9bdee6eca7b59
2015-11-19 16:00:46 +00:00
Jenkins 0b9c3c06b7 Merge "mockpatch: deprecate in favor of native fixtures" 2015-11-18 15:06:09 +00:00
ChangBo Guo(gcb) aa4dfd2f4f Remove Python 2.6 classifier
We have decided to remove Python 2.6 support, this commit
removes Python 2.6 classifier before dropping any Python
2.6 support in code.

Change-Id: I5fc83f5b61c13cfedaf75f95037c7ff78005c6a6
2015-11-17 15:35:11 +08:00
Julien Danjou 5e2a84d417 mockpatch: deprecate in favor of native fixtures
Change-Id: I3efb3c64ebce396e756a47d110a74fe8604b6b72
2015-11-16 18:40:21 +01:00
Davanum Srinivas cf73555607 Remove python 2.6 and cleanup tox.ini
* Remove support for python 2.6
* Remove install_command : We can just use the 
  default, we don't need to override
* Remove setenv : We can just use the default as
  we don't need any extra environment variables
* Remove requirements.txt from deps, as this is
  already added automatically

Change-Id: I4f650eaa07624b889a52570e628a21e905f2bd46
2015-11-16 00:54:40 +00:00
OpenStack Proposal Bot 345832a52c Updated from global requirements
Change-Id: I49b9a0078d904ef9a35fe428d1dd6495fe919630
2015-10-23 18:49:11 +00:00
Ronald Bradford b5e355fcec Fix coverage configuration and execution
A number of configuration errors prevent the successful creation of code
coverage. This corrects the .coveragerc source/omit setup and the tox
package name generation.

http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html

Change-Id: Ia337cd014d4130f60a88fc988eabcc85d9142834
2015-10-06 09:14:07 -04:00
OpenStack Proposal Bot 0bc2d2393b Updated from global requirements
Change-Id: I8eae9421082fb56cc9f8d88758dfae0f6e3a898f
2015-09-29 17:56:00 +00:00
Jenkins 024308eca1 Merge "Fix the home-page with Oslotest wikipage" 2015-09-25 19:30:35 +00:00
Doug Hellmann 1c034de9aa Add documentation about using oslo_debug_helper
Change-Id: I7fcae0676aaa2c598dbd14c0c7674d95357c4022
2015-09-25 14:08:24 +00:00
Doug Hellmann a66b4efb33 add oslo.config a test requirement
One of the tool modules uses oslo.config, so add it as a dependency so
we get that module in our documentation.

Change-Id: I9096b1d15bad6b643a18d548f23491fd7fe320b2
2015-09-25 14:08:24 +00:00
Doug Hellmann 748eca9363 clean up readme and doc title
Make the readme and documentation title consistent and descriptive.

Change-Id: I1e1e375272b28ad470d52d91b14e1c8d13e6829d
2015-09-25 14:08:24 +00:00
Doug Hellmann 8040a57c47 clean up toctree
Remove the contents header from the main index page.

Add a subsection for the release notes and move the history node there
so we do not show every release of the project on the main page.

Change-Id: I0776dac515a4eea751686563511128f422e46788
2015-09-25 14:08:22 +00:00
Doug Hellmann e265141db8 auto-generate API documentation
Tell pbr to automatically generate the API documentation and remove the
hand-curated file doing the same. Move the new API documentation section
to a separate toctree to allow us to only show one level of nodes in the
table of contents.

Change-Id: I8edd36090688a607685d5708f99a78fd235defed
2015-09-25 14:07:46 +00:00
venkatamahesh 99c1404c85 Fix the home-page with Oslotest wikipage
The current value of home-page in setup.cfg file
is launchpad url and is not relevant, so replaced with
oslotest wiki page

Change-Id: Id54400eb1d6a0c697253c8161fe3eff7dccc8344
2015-09-25 14:38:53 +05:30
Brant Knudson 4c164868c4 Fixup docstrings
A few docstring cleanups to make the library easier to use.

Change-Id: Icd3c6c11834e6488fd5782fbea666b4c8b74337c
2015-09-24 08:25:08 -05:00
OpenStack Proposal Bot 1598b1fd70 Updated from global requirements
Change-Id: I21ccc9a468511b3c34bab2d9c323f5e3641e676a
2015-09-17 12:16:22 +00:00
OpenStack Proposal Bot 266bccb7b6 Updated from global requirements
Change-Id: I718890d991fbb7117ec46d4adea9b6cd8c914744
2015-08-13 09:30:12 +00:00
Joshua Harlow 358f5b3e03 Allow TRACE and integer logging levels for 'OS_DEBUG'
Change-Id: Id977e71dc64d0e13b2c1077e1dd17c0a38d7354d
2015-07-27 17:58:30 -07:00
OpenStack Proposal Bot 294e392c37 Updated from global requirements
Change-Id: Iea4f4929528ff10339aa6861a1d3bb0855e46dce
2015-07-22 04:59:18 +00:00
OpenStack Proposal Bot 717727ecdd Updated from global requirements
Change-Id: I4c7d8c48ee9a4e95a41d36213aa3bb85a1fff591
2015-07-17 16:17:19 +00:00
OpenStack Proposal Bot 68dfb7c1ad Updated from global requirements
Change-Id: If0c00eaf6ec5e4d586764281074a2fa8a37bfea1
2015-07-15 00:29:03 +00:00
Jenkins a0e6b70ed6 Merge "Updated from global requirements" 2015-07-13 00:39:07 +00:00
Doug Hellmann 2c02e3a5b1 Fix use of mock
Use proper mock assertion methods.

Change-Id: I1dfc3ece6df312b0fa3172421583a1d0b8304a47
2015-07-12 12:04:13 -04:00
OpenStack Proposal Bot 37b41fdb32 Updated from global requirements
Change-Id: I158542515e3f93305531aab020d8fe828659da2e
2015-07-12 15:21:51 +00:00
Doug Hellmann cc8622fbbd Add documentation for cross-project unit testing
Change-Id: I4270af00b14d33a66439fa8d7141c192df1f0c3a
2015-07-02 12:22:08 +00:00
OpenStack Proposal Bot 9d0d522175 Updated from global requirements
Change-Id: I989741669a60abbcf57258922770b9b03343de72
2015-07-02 06:02:24 -04:00