summaryrefslogtreecommitdiff
path: root/test-requirements.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fix hacking min version to 3.0.1Ghanshyam Mann2020-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. Also removing the hacking and other related dep from lower-constraints file as theose are blacklisted requirements and does not need to be present there. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: Icad3221eddcc5f4e3b17f7d11266d938d1ea6201
* Use unittest.mock instead of third party mockSean McGinnis2020-04-181-1/+0
| | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: Ib83e626f51e6e01898bb7931c1660a1a548500f3 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update hacking for Python33.3.1Andreas Jaeger2020-03-311-1/+1
| | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I5da442bb2f1e634e6b3fe37a6ea3820cea1db96f
* Update hacking versionZhijunWei2019-01-021-1/+1
| | | | | | | 1. update hacking version to latest 2. fix pep8 failed Change-Id: I49a6d46466b06bd56bed1f15632c9c80ef539b38
* Switch to stestrVu Cong Tuan2018-07-301-1/+1
| | | | | | | | | | According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I9bfb80f2556ca7c801dde69d1685751169e25307
* Follow the new PTI for document buildNguyen Hai2018-04-211-3/+0
| | | | | | | | | | | | - Follow new PTI for docs build - Add sphinxcontrib.apidoc to replace pbr autodoc REF: https://governance.openstack.org/tc/reference/project-testing-interface.html http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I078e2ed32da04303203d6c2a3e498f82b9a15939
* Updated from global requirementsOpenStack Proposal Bot2018-03-231-1/+1
| | | | Change-Id: I5428b7f4f4f57511a6f60e654811b66152119ee4
* Updated from global requirementsOpenStack Proposal Bot2018-03-151-1/+1
| | | | Change-Id: I2d9b7ccba2d1a57f10988488f5899f2f5e6d6bae
* Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | Change-Id: I3e068f6888e7be53645fea5d31e983197b212a5d
* Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| | | | | Change-Id: Ia6b449d83d44d34f26d32a8071afa4386fd50321 I941090320ec464c2f61cae4eb80979542261bb49
* Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
| | | | | | Change-Id: I10be649c8683405b652067547ab39ec16e755da3 I941090320ec464c2f61cae4eb80979542261bb49 Ia6b449d83d44d34f26d32a8071afa4386fd50321
* Updated from global requirementsOpenStack Proposal Bot2017-11-161-1/+1
| | | | Change-Id: If8791552165fd5ed4985b383d7bf904e6cb4fb60
* Updated from global requirementsOpenStack Proposal Bot2017-11-031-3/+3
| | | | Change-Id: I2759a64e0274fd7652872c8556537471c2971cf7
* Updated from global requirementsOpenStack Proposal Bot2017-08-181-3/+3
| | | | Change-Id: I66375afca6a4a016c9282dfae12b4941736f9768
* Merge "Drop pycrypto from tests dependencies"Jenkins2017-07-281-1/+0
|\
| * Drop pycrypto from tests dependenciesHaikel Guemar2017-07-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pycrypto is unmaintained for a while and requirements team advises using pycryptodome or cryptography libraries instead (see openstack-dev thread [0]). troveclient uses pycrypto to generate random data/content in its tests which does not require any specific cryptographic need. This commit replaces it by os.urandom from Python standard library. [0] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113568.html Change-Id: Ia43c5883a51e8412c4a238d127c13db39e863da1
* | Updated from global requirementsOpenStack Proposal Bot2017-07-271-1/+1
| | | | | | | | Change-Id: I38ee16f82c75f3878afad2b96d710559883a9f03
* | Merge "Update the trove docs to follow the docs theme"2.11.0Jenkins2017-07-181-1/+1
|\ \ | |/ |/|
| * Update the trove docs to follow the docs themeTrevor McCasland2017-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | We were using the old theme on trove docs. We should update to new theme, it includes the new logo as well! You can see the difference in the themes here, new, https://docs.openstack.org/admin-guide/ old, https://docs.openstack.org/developer/python-troveclient/ Change-Id: If5ff925d258f7b4008aff32b1677d7806395b5c9
* | Updated from global requirementsOpenStack Proposal Bot2017-07-141-1/+1
|/ | | | Change-Id: I46fead1abc28215113351c1b888ff00c92981be8
* Updated from global requirementsOpenStack Proposal Bot2017-06-101-1/+1
| | | | Change-Id: Id35444edc3284d4cf296067c73db2ef232763cfb
* Updated from global requirements2.10.0OpenStack Proposal Bot2017-05-261-2/+2
| | | | | | Depends-On: I2f2a12207581a94fb8561a6d65a3a79b4a29b063 Change-Id: I9eb71eab2b58b84ee60507d6d473cda883129fa3
* Updated from global requirementsOpenStack Proposal Bot2017-05-061-1/+1
| | | | Change-Id: I6e79ad39b6f5e3a34ca290b82afbcb211829fdd2
* Updated from global requirementsOpenStack Proposal Bot2017-04-071-2/+2
| | | | Change-Id: I1e47988eb6cd2bf156ba2391539ab4ad871cd180
* [Fix gate]Update test requirementricolin2017-03-021-1/+1
| | | | | | | | | Since pbr already landed and the old version of hacking seems not work very well with pbr>=2, we should update it to match global requirement. Partial-Bug: #1668848 Change-Id: I65da7e4a99aa42f0025c1e767d0bad39412fdb33
* Add OpenStackClient plugin and flavor listTrevor McCasland2017-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient through a plugin and tests. The support can be demonstrated through the implementation of the trove command flavor-list which is now: openstack database flavor list Use the -v or --debug flag to see the calls being made to the correct flavor list function. ubuntu@ubuntu:~$ openstack database flavor list -v START with options: [u'database', u'flavor', u'list', u'-v'] command: database flavor list -> troveclient.osc.v1.flavors.ListFlavors Using auth plugin: password +-----+-----------+-------+-------+------+-----------+ | id | name | RAM | vCPUs | Disk | ephemeral | +-----+-----------+-------+-------+------+-----------+ | 1 | m1.tiny | 512 | 1 | 1 | 0 | | 2 | m1.small | 2048 | 1 | 20 | 0 | | 3 | m1.medium | 4096 | 2 | 40 | 0 | | 4 | m1.large | 8192 | 4 | 80 | 0 | | 42 | m1.nano | 64 | 1 | 0 | 0 | | 451 | m1.heat | 512 | 1 | 0 | 0 | | 5 | m1.xlarge | 16384 | 8 | 160 | 0 | | 84 | m1.micro | 128 | 1 | 0 | 0 | | c1 | cirros256 | 256 | 1 | 0 | 0 | | d1 | ds512M | 512 | 1 | 5 | 0 | | d2 | ds1G | 1024 | 1 | 10 | 0 | | d3 | ds2G | 2048 | 2 | 10 | 0 | | d4 | ds4G | 4096 | 4 | 20 | 0 | +-----+-----------+-------+-------+------+-----------+ END return value: 0 Change-Id: I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f Partially-Implements: trove-support-in-python-openstackclient
* Updated from global requirements2.6.0OpenStack Proposal Bot2016-11-151-1/+1
| | | | Change-Id: I3a33bbeda3086a4e5dd6e79dfc80e50052743c97
* Updated from global requirementsOpenStack Proposal Bot2016-11-021-1/+1
| | | | Change-Id: I1e354412fa15c6f0b8a97b6ec092b9d03002cf47
* Updated from global requirementsOpenStack Proposal Bot2016-09-301-3/+3
| | | | Change-Id: I1fd7e0ae5333438e619f8201b0573bb4cfb0c9de
* Add fixtures to test-requirementsTony Xu2016-09-221-0/+1
| | | | | | This module is be used Change-Id: I0ce94d99425741b040a9f5a59cfb09329eb0a831
* Remove discover from test-requirementsSwapnil Kulkarni (coolsvap)2016-07-211-1/+0
| | | | | | It's only needed for python < 2.7 which is not supported Change-Id: Idfc1677ca01853993e21f4c8aa50a9be66c32203
* Updated from global requirementsOpenStack Proposal Bot2016-06-251-2/+2
| | | | Change-Id: I519af1cbb731902beccd111632252002a820ba41
* Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | Change-Id: I92f339efd6b77a229c5e9219c53dc609f7887fee
* Updated from global requirementsOpenStack Proposal Bot2016-05-261-1/+1
| | | | Change-Id: I89d5fe849ac47d59eb0c117280b7b78a9ef31519
* Updated from global requirementsOpenStack Proposal Bot2016-04-141-1/+1
| | | | Change-Id: If82e40913fbc6c3a176888c169c1526a746ad7dd
* Add reno for release notes managementPeter Stachowski2016-04-081-0/+1
| | | | | | Add reno to generate release notes for the Trove client. Change-Id: I8e475e1148ec32f9beb3398ecbb5effccd7ea4fb
* Updated from global requirementsOpenStack Proposal Bot2016-03-161-1/+1
| | | | Change-Id: Idc6db3319f660138c74297d59d464a9cd83162da
* Client support for instance module feature2.2.0Peter Stachowski2016-03-111-0/+1
| | | | | | | | | | | | | | | | | This adds support in the python API and Trove CLI for instance module commands. These commands include: - module-apply - module-remove - module-query - module-retrieve - module-list-instance The parsing of --instance was modified to allow multiple modules to be specified. This was extended to 'nics' as well. Partially Implements: blueprint module-management Change-Id: If62f5e51d4628cc6a8b10303d5c3893b3bd5057e
* Merge "Updated from global requirements"Jenkins2016-01-271-8/+8
|\
| * Updated from global requirementsOpenStack Proposal Bot2016-01-261-8/+8
| | | | | | | | Change-Id: I0fa56501666064fe865b51b0d79c7a0449da6fff
* | use oslotest to break into the debugger when running test casesting.wang2016-01-211-0/+1
|/ | | | | | | | | | | | | | | | Once we add debug testenv, we can use "tox -e debug" to debug test cases when tox is running. Then tox will use oslotest which really debug our test cases. Only we should do is insert pdb into code.It's easy to use. The same in trove: https://review.openstack.org/#/c/265524/ usage link: http://docs.openstack.org/developer/oslotest/features.html Change-Id: I93709451af9a14fc9c71e1c3306a1a025aee8b44
* Updated from global requirementsOpenStack Proposal Bot2015-12-011-2/+2
| | | | Change-Id: I4ab4b7f31227701b664db348c50fa01a305c1cfe
* Updated from global requirementsOpenStack Proposal Bot2015-07-221-2/+1
| | | | Change-Id: Ia03d0d5f1812ee66e0f08fc416d9c599a60478fd
* Updated from global requirementsOpenStack Proposal Bot2015-07-121-1/+2
| | | | Change-Id: I025ac552e2a6d48aeaff1de8a0e6979f978d6232
* Updated from global requirementsOpenStack Proposal Bot2015-06-221-5/+5
| | | | Change-Id: I43505ec0ecf807e48726e8bd94b414bba93999b5
* Added more unit-tests to improve code coverageSushil Kumar2015-06-081-0/+1
| | | | | | | | | | | | | | | | | Following files were too low on code coverage, so the coverage has been enhanced with addition of more unit-tests. - troveclient/client.py - troveclient/v1/shell.py The methodology to test shell.py has been motivated from the one used by python-novaclient to test novaclient/v2/shell.py Also, found an unmocked entry in test_secgroups.py, which was causing intermittent failure while writing the tests for shell.py. Closes-Bug: #1455856 Change-Id: I6a148fb5caad6a83b6ac23411b6458f231064ead
* Fixes new hacking rules1.2.0Sushil Kumar2015-05-261-1/+1
| | | | | | | | | | | | | | | | | Updated the hacking version as per global-requirements. Fixed some of new appearing hacking rules, as listed follows: - E128 continuation line under-indented for visual indent - E265 block comment should start with '# ' - E713 test for membership should be 'not in' - H238 old style class declaration, use new style (inherit from `object`) Rules which are not yet fixed have been incorporated to ignorelist - H405 Multi line docstrings should start with a one line summary followed by an empty line - H501 Do not use locals() or self.__dict__ for formatting strings Change-Id: I885c6fa8ad0e6a98f7a8479f3441ed08ed2cbaa6
* Uncap library requirements for libertyDoug Hellmann2015-04-161-1/+1
| | | | | Change-Id: I6a8a07f07aac313f23ab50c930718b9bb4cd89f2 Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
* Updated from global requirementsOpenStack Proposal Bot2015-03-211-2/+2
| | | | Change-Id: Id7f2a4b7fe8ae4c7401ad0227e4341dc7a2152b8
* Add coverage libraryOTSUKA, Yuanying2015-03-101-0/+1
| | | | | | `tox -ecover` is failed because of lack of necessary library. This adds it. Change-Id: I7dc6b5e46335b770e31aaa9f02522a5eeb401114