Commit Graph

21 Commits

Author SHA1 Message Date
Sean McGinnis b22c58fcfc
Retire mox3 repo
This is step 2 in the retirement process for mox3. It removes all
content from the repo other than a note in the README file notifying of
its status and how to get the last version of the code

Depends-on: https://review.opendev.org/736712

Change-Id: Ifbea265fdef149791d02a642037ac30611ad4c81
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-18 09:19:13 -05:00
Doug Hellmann 34a010e168 add python 3.6 unit test job
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

This also modifies a unit test to not attempt to pass the re.LOCALE flag
when the regex is a string, which is prohibited in Python 3.6. It would
be possible to use a raw bytes object as the regex instead, but we're
testing the repr() here and it has a different representation between
Python 2 and Python 3. Just use the re.IGNORECASE flag instead for the
purposes of the test.

Change-Id: I666d49d0a29963bcaef6ca69be34dc4869f6db6f
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Story: #2002586
Task: #24322
2018-08-14 16:18:10 -05:00
melissaml 6dc7c79edb fix a typo in documentation
Change-Id: Ib7db8c3e75eee9651acce471cdc5eb7b05b3afd9
2018-03-29 13:21:21 +08:00
Dirk Mueller 391d7c38f5 Fix various pep8 issues
There weren't called before because test-requirements
hardcoded an older version that is not what flake8 expected.

Change-Id: I43b0c9f89d8411ae536ffd0540ff7ba47df46dda
2017-10-26 13:38:59 +02:00
Jenkins 2d637cc503 Merge "Remove vim header from source files" 2017-02-07 11:14:49 +00:00
Jenkins b3644b2353 Merge "Revert "Use inspect.signature() if available"" 2017-01-19 15:13:10 +00:00
Sean Dague 475ad79771 Revert "Use inspect.signature() if available"
This change introduces behavior that's not compatible
with real world usage of mox3 in the nova project, and
breaks huge amounts of the unit tests under python3. 

Closes-Bug: #1657757

This reverts commit 4a85ff0ec4.

Change-Id: Iacb0d9307af4602a9e4f5725504f98e196cd10fc
2017-01-19 14:35:01 +00:00
Cao Xuan Hoang 5a7f88a7d0 Remove vim header from source files
trivialfix

Change-Id: I6ccd551bc5cec8f5a682502b0a6e99a6d02cad3b
2017-01-16 11:06:09 +07:00
Jenkins 29929967d2 Merge "Use inspect.signature() if available" 2017-01-06 05:01:02 +00:00
Victor Stinner 4a85ff0ec4 Use inspect.signature() if available
inspect.signature() was added to Python 3.3. inspect.getargspec() is
deprecated since Python 3.0 and doesn't support keyword-only
parameters.

Change-Id: I09dd8a38cc3166bc55917bc0813185457b43a971
2017-01-04 13:54:16 +01:00
Cao Xuan Hoang ebefae0c09 Replace 'assertTrue(a (not)in b)' with 'assert(Not)In(a, b)'
trivialfix

Change-Id: Ifd59a01a96dd9e54fbfa62532f10636ce1de7705
2016-11-28 11:41:19 +07:00
Dougal Matthews 7329b2ebe2 Correct spelling of occurrences
Change-Id: I10da614cd2e293b624e45456a76da63a7cbcba23
2016-05-18 20:40:56 +01:00
Davanum Srinivas 1d0054badb Fix broken test and remove Bad test
testStubOutClass_OldStyle has been fixed with a tip
from referenced bug. Also testUnboundMethodsRequiresInstance
was writted before python 3.3 was released and hence worked
only with versions before i believe. This test never worked
with python 2.6/2.7 either. So just nuking it.

Closes-Bug: #1403214
Change-Id: I2b14b9b29122539cf4a101af0dca89c10693b6a3
2015-09-29 16:57:29 +00:00
Doug Hellmann c919d92bb9 Fixes to allow a new release
Version 0.7.0 has a conflicting pbr requirement, so we need to update
the requirements and produce a new release. Making our tools work after
importing into gerrit required several updates simultaneously:

1. Update requirements based on our global-requirements list.
2. Fix tox.ini so tests pass for 2.7 and 3.4.
3. Skip a test that is failing for 3.4 until we have more time to debug.
4. Fix the .gitreview settings to point to the right repository.
5. Add skeleton documentation structure.
6. Add links to the README in a format understood by our release tools.

Related-bug: #1403214
Change-Id: I28213fb1dbb76a8640d7aa7dc844a7b593d1c6da
2015-06-11 17:22:23 +00:00
Monty Taylor 2414ef034a Add a fixture for consuming mox3 easily. 2013-05-26 01:54:53 +03:00
Monty Taylor 4b18f8a0a6 Migrate test bases to testtools. 2013-05-21 19:23:45 -04:00
Monty Taylor 4b4421e766 Fix all of the flake8/hacking warnings. 2013-05-21 18:41:20 -04:00
Monty Taylor 1a99638ba2 Fix the leading indentation issue. 2013-05-21 17:12:00 -04:00
Monty Taylor 24bd40737a Updated to use OpenStack standards. 2013-05-21 16:59:38 -04:00
Przemyslaw Gajda c0557d6f1a Changed directory test to tests. Fixed travis config. 2012-04-26 23:10:02 +02:00
Przemyslaw Gajda de3be03f55 Adjusted the structure of the mox3. 2012-04-26 23:05:48 +02:00