summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for Python 3.3Davanum Srinivas2015-05-101-5/+1
| | | | Change-Id: Ifca70a5e139090ae5fd76bd524738bb8c138fd0f
* Merge "Fix coverage report generation"Jenkins2015-03-161-1/+1
|\
| * Fix coverage report generationClint Byrum2015-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | Coverage is a little bit confused by oslo.messaging as the pypi package name. So we have to be explicit here or we get no data collection. Adding a .coveragerc helps give the report more context as we don't care about coverage in the tests or oslo-incubator. Change-Id: I3d24187890efd7aecad7fcb7a2974b87e89ef6ff
* | Deprecates the localcontext APIMehdi Abaakouk2015-03-111-0/+1
|/ | | | | | | | | We deprecate the localcontext API in favor of the oslo.context one. Related bug: #1288878 Change-Id: If6049544e35ae49e41f2771cae858b6d4ebe00cd
* amqp1: fix functional tests depsMehdi Abaakouk2015-02-111-2/+2
| | | | | | | | | | This change increases the version of python-qpid-proton to works on fedora21. It also installs qpid-tools to ensure authentification works before starting the tests. Change-Id: Ic8eb3b80ef4af6ca8cecbb6fba71cb69c0af3101
* Gate functionnal testing improvementsMehdi Abaakouk2015-01-301-1/+6
| | | | | | | | | | | set DEVSTACK_GATE_NO_SERVICES=1 to not setup a whole openstack when we need only a messaging broker. Add of the zeromq gate job. Fix the amqp1.0 password Change-Id: If1332d97c4d4e92bf920fed4de2795461d9feb22
* Set the password used in gateMehdi Abaakouk2015-01-281-3/+3
| | | | Change-Id: I7affe90e3b0f4e3677e3494731e9cb0dc421c374
* Fix functionnal testsMehdi Abaakouk2015-01-211-3/+3
| | | | | | | This removes the functionnal tests from the legacy directory and run the ones in the new directory with tox. Change-Id: Ibbfd6c946e25435ff37e459bf5e82565a1e21778
* Move files out of the namespace packageDoug Hellmann2015-01-121-1/+1
| | | | | | | | | | | Move the public API out of oslo.messaging to oslo_messaging. Retain the ability to import from the old namespace package for backwards compatibility for this release cycle. bp/drop-namespace-packages Co-authored-by: Mehdi Abaakouk <mehdi.abaakouk@enovance.com> Change-Id: Ia562010c152a214f1c0fed767c82022c7c2c52e7
* Add qpid and amqp 1.0 tox targetsMehdi Abaakouk2014-11-201-5/+13
| | | | | | | | | This change adds two targets for qpid and amqp to be able to run the functional tests suite on them in gate This also run only functional tests for the functional tox testenv Change-Id: Ibf1db3fe55f82dd6dc02f2e57d73608fcad80d0e
* Activate pep8 check that _ is importedJames Carey2014-10-311-1/+0
| | | | | | | | | | | Remove the specification in tox.ini that _ is a builtin so that it will no longer assume that _ does not need to be imported. This helps ensure that the _ from i18n is used. Activating this check did not flag any violations. Change-Id: I077b9b2060e618823ef6dd6f95ce9fe7dcc52a06
* Add driver independent functional testsGordon Sim2014-10-221-0/+3
| | | | | | | | | Add driver independent functional tests of the messaging API The url used to select (and configure) the driver is specified as an environment variable named TRANSPORT_URL. Change-Id: I867001a15ffaca06ae831cfd0240ed3397bf6503
* Finish transition to oslo.i18nJulien Danjou2014-10-061-1/+0
| | | | Change-Id: Ia0c8c15ba95b1fac6c815b86ccd8771b3ca24327
* Enable oslo.i18n for oslo.messagingDavanum Srinivas2014-09-241-0/+1
| | | | Change-Id: Ic8e05ae4ffe3eb871ae64243c41a9955f47cbe2a
* Work toward Python 3.4 support and testingJeremy Stanley2014-09-091-1/+5
| | | | Change-Id: I766de4fa6f352fa1c9284187134654de1a468622
* An initial implementation of an AMQP 1.0 based messaging driverGordon Sim2014-09-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The key driver interfaces are implemented in the ProtonDriver class in driver.py. The logic for interfacing with Pyngus in order to send/receive messages, manage AMQP connections and links, and handle protocol events is in controller.py. eventloop.py is a fairly generic socket connection and I/O processor which runs in its own thread. controller.py uses the eventloop.py thread to schedule subscription and message send requests from the driver, as well as handle all protocol event callbacks coming from Pyngus. Included in this patch are a set of functional tests that can be run under tox (tox -eamqp1). These tests fully exercise the new driver, from the driver API down to the 'wire' - nothing in the driver is mocked out. The functional tests implement a simple loopback test broker, which allows the driver to send and receive messages via the local network. All RPC call patterns, RPC timeouts, and even broker failover are verified by the included functional tests. This driver uses the Pyngus module, which is a pure-python client API built on the Proton AMQP 1.0 protocol engine library from the Apache Qpid project. Pyngus is available via pypi.python.org. This driver introduces a dependency on the Proton AMQP 1.0 protocol library, which is a platform-dependent library that must be installed in order to use this driver and run the functional tests. Change-Id: I871703e4cdc04cee3e6c214e911c9df464ede2ed Implements: blueprint amqp10-driver-implementation
* Port to Python 3Julien Danjou2014-08-181-1/+6
| | | | | | | This patch enables running all the unit tests (except the qpid ones that are skipped) under Python 3.3 and Python 3.4. Change-Id: I711663b4eedfb3cdeea7e6da7d28c6b92663e611
* Enable PEP8 check E714Christian Berendt2014-08-081-1/+1
| | | | Change-Id: I1562330af99553b4322f7dc062b310cc4ef93ccf
* Enable PEP8 check E265Christian Berendt2014-08-081-1/+1
| | | | Change-Id: Idf41d967fb06a063d02c19987733ba3757aa466f
* Enable PEP8 check E241Christian Berendt2014-08-081-1/+1
| | | | | | * E241 multiple spaces after ':' Change-Id: I2310ffc00b7fe58d0781705a73212eefa116c999
* Enable check for E226Christian Berendt2014-08-041-1/+1
| | | | | | * E226 missing whitespace around arithmetic operator Change-Id: Iee5f6a952d9b12c6c8a4a79ef656fc7f94170776
* Enabled hacking checks H305 and H3071.4.0.0a4Christian Berendt2014-07-171-1/+1
| | | | | | | * H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: I08dafc4fa150d2213b2bb002da7c9ee0ee517fac
* Merge "Synced jsonutils and its dependencies from oslo-incubator"Jenkins2014-07-091-0/+4
|\
| * Synced jsonutils and its dependencies from oslo-incubatorIhar Hrachyshka2014-06-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sync includes change that makes sure we get unicode-only dicts from jsonutils no matter which json module implementation is selected. The latest commit in oslo-incubator: - 2e1214b74b5448825d3db26e1308a51b468d3d5c Included commits: * gettextutils.py: - de4adbc4: pep8: fixed multiple violations - 9912e5df: Add API for creating translation functions - 6cc96d05: Fix test_gettextutils on Python 3 - fd33d1ea: Fix gettextutil.Message handling of deep copy failures - 047b2e4e: Change lazy translation to retain complete dict - 6d55e26a: Add support for translating log levels separately * importutils.py: - 1173e469: Remove ValueError when accessing sys.modules - 885828af: Deleted duplicated method in cliutils. * jsonutils.py: - 0d7296f6: Add kwargs to jsonutils.load(s) functions - 18f2bc1b: Enforce unicode json output for jsonutils.load[s]() - 9e5a3938: jsonutils.load() accepts file pointer, not string * timeutils.py: - 250cd88c: Fixed a new pep8 error and a small typo The sync adds new module: strutils. Disabled pep8 import checks for gettextutils to avoid raising 'H302: import only modules.' Change-Id: Ic815ca3df94c33edec9104172048b2cd94b92e3f Closes-Bug: 1314129
* | Add 'docs' tox environmentMark McLoughlin2014-06-261-0/+3
|/ | | | | | To make it easy to build docs with 'tox -e docs'. Change-Id: Idd47c617196b25539b6b1fc88fac0a45b7fc0911
* Bump hacking to 0.9.x seriesDavanum Srinivas2014-06-121-0/+1
| | | | | | | | In order to keep this patch to just a requirements bump, ignore new and stricter hacking rules that are being triggered. Fixing up the code and turning these on is out of scope of this patch and is for future patches. Change-Id: I5711e066da1076486d291bc4f45359ecb26e1b1a
* Don't run python 3 tests by defaultDoug Hellmann2014-02-281-1/+1
| | | | | | | | | Remove py33 from the list of environments used when someone runs "tox" without any arguments. The python 3.3 tests do not pass yet, and the expected failure is confusing to new contributors. Change-Id: I1f1307153c4a32e59bcffbf340c31dbf3e70173c
* Convert to oslo.testJeremy Hanmer2014-02-261-1/+3
| | | | | | bp graduate-oslo-test Change-Id: Iff1eebac011dab26468a7f1475b5c36b0bb2a7d2
* Simplify public symbol exportsMark McLoughlin2013-06-241-1/+1
| | | | | | | | | | | Inspired by tulip, have every module define a __all__ list and import * from the top-level module. Rename transport.set_defaults() since we don't want this to be a top-level set_defaults() function as there may be multiple. Also, rather than configuring flake8 to allow star imports, just exclude the __init__.py files from flake8 checks.
* Add oslo.messaging project infrastructureMark McLoughlin2013-06-151-0/+24