60 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
c51a66dd94 Updated from global requirements
Change-Id: I4dc58137eaa84049330d70a4f3b8664479de5608
2015-10-04 22:42:10 +00:00
OpenStack Proposal Bot
e26ea1dc82 Updated from global requirements
Change-Id: I671b6e3f2919de119c06bbf01c17bb85e6e9a866
2015-10-02 17:24:53 +00:00
OpenStack Proposal Bot
957ac2b83e Updated from global requirements
Change-Id: Ifc569f4371b0fafe071d99bf6542ca2802da8bd9
2015-09-21 18:56:49 +00:00
OpenStack Proposal Bot
7e070bddad Updated from global requirements
Change-Id: Ieb2e8eaf3eb9fee93d5fcb8cb4e683a0a6555fc0
2015-08-13 02:14:42 +00:00
OpenStack Proposal Bot
65ac8cd0a8 Updated from global requirements
Change-Id: I3a884a73d51df0f93b5cc88b3e3250d81bb1f455
2015-07-29 20:44:01 +00:00
OpenStack Proposal Bot
94a070c78e Updated from global requirements
Change-Id: I36e87e41ba3a99b43bc57e9c9586ec9494db62d7
2015-07-23 12:50:58 +00:00
OpenStack Proposal Bot
91f86101e4 Updated from global requirements
Change-Id: I1385cfc5d8838fbb73ba5c909537d072cba8d736
2015-07-18 16:06:06 +00:00
Jenkins
20947ddc55 Merge "Move pylint dep from tox.ini to test-requirements" 2015-07-15 15:03:27 +00:00
OpenStack Proposal Bot
65bb9241e7 Updated from global requirements
Change-Id: Ibcb49412a012f79be2f7fd697349ddbf43bd7b9b
2015-07-14 14:50:46 +00:00
Robert Collins
7344e3ab8e Improve fixture usage.
There were two broad issues with fixtures.

Firstly, the 'SafeFixture' workaround for resource leaks in fixtures
<1.3 is not needed if we depend on fixtures>=1.3.1. While testtools
may raise a TypeError when trying to query a fixture that failed to
setup, this is only ever a cascading failure - it will not cause
tests to fail, cause leaks, or cause tests to incorrectly pass. That
will be fixed in testtools soon to stop it happening (but as it cannot
affect whether a test passes or fails or leaks happen there is no
reason to wait for that). Leaks are seen with fixtures 1.3.0 still
because eventlet raises a BaseException subclass rather than an
Exception subclass, and fixtures 1.3.0 didn't handle that - 1.3.1 does.

Secondly, some of the fixtures had race conditions where things were
started and then cleanups scheduled. Where possible I've fixed those,
but some of them require more significant work to fully address.

Change-Id: I3290712f7274970defda19263f4955e3c78e5ed6
Depends-On: I8c01506894ec0a92b53bc0e4ad14767f2dd6a6b3
Closes-bug: #1453888
2015-07-01 14:53:48 +12:00
Assaf Muller
0a3279107f Move pylint dep from tox.ini to test-requirements
This allows us to pin pylint from global requirements.

Closes-Bug: #1470186
Depends-On: Ibad8cd2911efbe075ea2629c543f6ce1f216c938
Change-Id: I31cc18e0b4cd32728f5814aa9dbf403104f72c72
2015-06-30 14:58:50 -04:00
Russell Bryant
2557c47668 Updated from global requirements
This patch takes the latest global requirements update from change
Ibcb49412a012f79be2f7fd697349ddbf43bd7b9b except takes out the update
to setup.py which reverts the windows specific requirements.  We are
still working on getting the custom changes out of setup.py in change
I3c07c279d33f6aed46c3a97dd9ba81251e51429a.

Change-Id: Iee7612d39b520cf04e3b2ec503ec79d23f15f949
2015-06-25 09:20:19 -04:00
Jenkins
ae2c69780a Merge "Switch to os-testr to control testr" 2015-06-10 12:53:03 +00:00
Ihar Hrachyshka
1c124a309b Switch to os-testr to control testr
It's a nice wrapper spinned out recently from tempest-lib that should
cover all our needs that we currently fulfill with pretty_tox.sh.

Change-Id: I2268ed45ab628fe5dcab657d6287594847ab587c
2015-06-10 12:37:46 +02:00
Dmitry Ratushnyy
770859d25b Add more API tests for port-security extension:
Test create port with specific value of port_security_enabled
Test create secure port with security_group attached
Test update port with port_security_enabled True\False
and with or without security groups
Test deleting port with port_security_enabled

Change-Id: Id71f5451dc17f374feff1a3bdb35fb9ec42f0fa1
Depends-On: Ia27881a34ff99cad34c84764d2bf8a6cdf77af9c
Depends-On: Ie0ec090e8fdce7dbdbce14ef47f38e8e57f262d4
2015-06-04 16:02:46 +03:00
OpenStack Proposal Bot
cc29149949 Updated from global requirements
Change-Id: I42cf4af2058c08e8e805c323a5d0b7075947c031
2015-05-01 20:18:50 +00:00
OpenStack Proposal Bot
fc1608a6a1 Updated from global requirements
Change-Id: Icec7a7d00ebdd07673cfdb49a46faa4c73d3908a
2015-04-29 19:18:14 +00:00
OpenStack Proposal Bot
748735a6d7 Updated from global requirements
Change-Id: I50e3c7989d7d2f109672d1d47869041e31b32439
2015-03-21 00:10:47 +00:00
OpenStack Proposal Bot
4a7f04ae92 Updated from global requirements
Change-Id: I5509534ac9caf0fc19eded5f33249929b5745f16
2015-03-07 00:16:29 +00:00
Ihar Hrachyshka
7ed8d99fe0 Remove discover from test requirements
The package is used to provide new unittest module features for python
installations older than 2.7. Since we don't support py26 target
anymore, the dependency is safe to kill.

Change-Id: Icb238d577d0dd30e091bdb65dcec5f695749dc7b
2015-02-25 15:20:31 +01:00
OpenStack Proposal Bot
c81e103b20 Updated from global requirements
Change-Id: I6ed8e5c100148405fb047dfc613d7dee5f8c5582
2015-02-10 17:02:18 +00:00
OpenStack Proposal Bot
f2f06faf89 Updated from global requirements
Change-Id: Ic12622394dd31d9df60aad72c68473ecad7ac844
2015-01-24 20:17:48 +00:00
Ihar Hrachyshka
1de25088b4 Update hacking to 0.10
Release notes:
http://git.openstack.org/cgit/openstack-dev/hacking/tag/?id=0.10.0

* Remove references in tox.ini to removed rules.
* Remove custom @author check since it's now implemented in hacking.
* Move N323 to N322 that is freed due to @author check removal.
* Temporarily skip W292 (no newline at the end of file).
* Temporarily skip H238 (old style classes).

Change-Id: I6d990a564df6a312bd09b2a152315bbdba732082
2015-01-12 23:46:06 +01:00
Henry Gessau
3e0745827f Move DB TestModelsMigrations from unit to functional
The tests to check that DB migrations and models are in sync depends
on the mysql and postgresql backends being available with a specific
DB user and database created. This violates the principles for unit
tests and therefore these tests should be moved to functional tests.

For these tests to work in the functional job in the gate, the
backends must be installed and the DB user and database created.
We do this via the functional gate hook.

Closes-bug: #1372981

Change-Id: I7b89feef3f19ca07dbfb05acfaa30529a5bf683d
2014-12-18 22:41:05 -05:00
Matthew Treinish
65b8daffd1 Switch to using subunit-trace from tempest-lib
This commit removes the local copy of subunit-trace and instead uses
the version packaged with tempest-lib.

Change-Id: Ia7b57c6fc092514d9fbe4e71f580a4b189dc68b0
2014-12-10 18:35:45 -05:00
Assaf Muller
cfa192fc20 Get rid of py26 references: OrderedDict, httplib, xml testing
Change-Id: I44315e0663a7c0c82110b933b68e2b747f548859
2014-12-04 12:34:05 +02:00
OpenStack Proposal Bot
dfdc60d26f Updated from global requirements
Change-Id: I40640d56c48b376d876908d7e004971f80228095
2014-11-20 14:06:53 +00:00
OpenStack Proposal Bot
48dc28b012 Updated from global requirements
Change-Id: Ie86ce0bd15761b237385007a7905ac1317f0bfff
2014-11-18 11:32:10 +00:00
OpenStack Proposal Bot
29054c8672 Updated from global requirements
Change-Id: I0e0f708a755dcf45e3ce51141d264d8624ec87ba
2014-11-09 00:39:32 +00:00
OpenStack Proposal Bot
9586c4ba1f Updated from global requirements
Change-Id: Ia4292097571c0cb3d291071c90b229650e5e4c70
2014-10-24 16:15:05 +00:00
OpenStack Proposal Bot
685f6c9a7f Updated from global requirements
Change-Id: Ib0c8c561427f141583d677e86a76cbfe4e2be606
2014-10-11 22:33:01 +00:00
OpenStack Proposal Bot
076a5f2748 Updated from global requirements
Change-Id: I0e72933320ac6f49b55ef9782c6c19fb7e997bcb
2014-10-07 19:13:11 +00:00
Ann Kamyshnikova
5247f5cdf1 Implement ModelsMigrationsSync test from oslo.db
Add tests to verify that database migrations produce
the same schema as the database models.

Also for MySQL, check that all tables are configured to use InnoDB
as the storage engine.
These tests make use of the ModelsMigrationsSync test class from
oslo.db and the load_tests protocol from Python unittest.

Closes-bug: #1346444

Change-Id: Ic0e7eb37c30cc5e94cbdbddf07a6dc1ebf377c17
2014-09-30 11:55:06 +04:00
Jenkins
6715982684 Merge "Add requests_mock to test-requirements.txt" 2014-09-15 08:07:18 +00:00
OpenStack Proposal Bot
cbd0b18819 Updated from global requirements
Change-Id: I7a53aedccdd62fafd0da2679e84345e71da5493d
2014-09-13 07:23:23 +00:00
Paul Michali
9e649f4b94 Add requests_mock to test-requirements.txt
Already in global-requirements. Will use for VPN unit tests
(bug 116018).

Change-Id: I140caebd3bc4f4cbf9563698bf0143f68456c762
Closes-Bug: 1358472
2014-09-08 09:08:42 -04:00
OpenStack Proposal Bot
18823e407d Updated from global requirements
Change-Id: I922b382fa75ecc6a8e14f25914c27e3eb245766e
2014-08-25 12:53:06 +00:00
Ihar Hrachyshka
207f1b4928 Removed configobj from test requirements
This module is not longer used by any code in the tree since
f164a60f15ea042b04b250ffc2001beda4f3e4bc.

Also removed a reference to the module from a README file.

Change-Id: I66c4935cb2e119bc96109416df7116d8c09e24e4
2014-07-31 15:34:08 +02:00
Christian Berendt
4f40c8f40f Bump hacking to version 0.9.2
Change-Id: I871fba00fd2abc1ea24fcd44fbd7526ed1d40537
2014-07-16 14:10:07 +02:00
OpenStack Proposal Bot
40d9965d1d Updated from global requirements
Change-Id: I7d528afc3051e423e4a405ba1bdc0cb4cc5a9071
2014-06-23 12:17:23 +00:00
OpenStack Proposal Bot
a859d6b2a7 Updated from global requirements
Change-Id: I321a9db3ff1082e226f9cf8d831c287c64d871f9
2014-06-18 19:35:58 +00:00
OpenStack Proposal Bot
db3f4b3156 Updated from global requirements
Added exclusions for newly triggered errors.

Change-Id: I580c4a6a3861c399e010f435c0b92ed719d6a418
2014-06-12 01:07:39 -04:00
OpenStack Proposal Bot
335f4f72c2 Updated from global requirements
Change-Id: I91778ac6d505f8808a359765555a1619c2f34d3c
2014-05-28 19:15:25 +00:00
Sergey Lukjanov
aa4375890c Start using oslosphinx theme for docs
Change-Id: Ica731ff679c618a0ec82b8de816654e758ee5244
2014-03-26 15:51:48 +04:00
Aleks Chirko
3c00dd43f6 Bugfix and refactoring for ovs_lib flow methods
Remove hardcoded flow parameters from
'_build_flow_expr_str' method, so we can
define any flows we want and can rely on 'ovs-ofctl'
command to verify flow arguments correctness.
When building flow string inside _build_flow_expr_str
use the following approach:
1. Build prefix and remove prefix params from flow_dict.
2. Build postfix (actions) and remove 'actions' from
flow dict.
3. Inside the loop build flow array from everything
what's left in flow_dict.
4. Append postfix (actions) to the flow array.
5. 'Join' flow array into flow string.

Change _build_flow_expr_str() to be a function
instead of an object method because 'self'
parameter  wasn't used.

Remove 'add_or_mod_flow_str' method because
we have to use separate logic when bulding flow
strings for 'add_flow' and 'mod_flow' methods.

Add more unit tests for OVSBridge class.

Closes-Bug: #1255058
Closes-Bug: #1240572

Change-Id: Ic89221d006a626aa2fc40314a9acffc0ea6fd61c
2014-03-14 15:23:19 +02:00
OpenStack Jenkins
f45baed0e8 Updated from global requirements
Change-Id: I194bd7c742152739717882774fef61174ccda9b9
2014-02-23 09:26:34 +00:00
Justin Lund
ff2f4dd436 Sync minimum requirements
Change-Id: I1a0653058f1f8085918d7c43147d6b2631acb013
Closes-bug:1280941
2014-02-20 18:56:38 -05:00
Morgan Fainberg
dbd6d45457 Sync global requirements to pin sphinx to sphinx>=1.1.2,<1.2
Sync the global requirements to pin sphinx.  This addresses an issue
where Sphinx 1.2 is not building documents correctly and causing
check/gate to fail.

Change-Id: Iea62bf9f5a1a6b729ab2ddb6d0c6390a7dc9dca1
2013-12-10 14:03:20 -08:00
Monty Taylor
3f174c61d2 Replace stubout with fixtures
blueprint remove-mox

The last step in removing mox is to remove stubout usage. Lucky for us,
the fixtures library, which we are already using, can take on the
challenge quite well.

Change-Id: Id33cc8988935a1905f9a14351964f0bb24ef82e3
2013-11-24 10:46:08 -05:00
OpenStack Jenkins
8d30d29a47 Updated from global requirements
Change-Id: I36e3ce085af0b1e9a7dfd91141789fdfbc2049a8
2013-11-11 18:48:49 +00:00