79 Commits

Author SHA1 Message Date
Anastasia Kuznetsova
5ba583f660 Add one more tox env for running unit tests with postgresql
Change-Id: I257b3a464df2dbe5de4dae0737cd789421e861d7
2015-08-05 14:56:18 +03:00
Jenkins
8ede52cbd6 Merge "Remove explicit requirements.txt occurrence from tox.ini" 2015-07-16 10:30:11 +00:00
Renat Akhmerov
5b1608c0ad Remove explicit requirements.txt occurrence from tox.ini
* See http://lists.openstack.org/pipermail/openstack-dev/2015-July/069663.html
  for details.

Change-Id: Ia6de0a6a475e7f5e63796c6c973505cdc4a39120
2015-07-16 11:25:30 +06:00
Zhenguo Niu
8cffeacb6f Remove H803, H305
The rules of H803 and H305 are removed from hacking.

Change-Id: I99e3cfbacc3f15aa566a6ed31185eb4f14d45868
2015-07-16 10:56:34 +08:00
Doug Hellmann
2e0cde447a Drop use of 'oslo' namespace package
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names, and adds a hacking
check to prevent regressions.

The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.

Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.

Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages

Change-Id: I7137e7199f1cd6cdeacbc6c421d294f596e2ec0e
2015-07-14 06:25:24 +00:00
LingxianKong
645576e2f0 Get rid of openstack/common package
* use oslo graduated modules, delete openstack/common package since there
  is no dependency on oslo-incubator modules now.
* delete openstack-common.conf for the reason above.
* update project requirements automatically.

Change-Id: I80610cbfe7fd54263c8a2d9178ec9a2498c91899
Closes-Bug: #1459188
2015-06-24 16:49:06 +08:00
Nikolay Mahotkin
f34edb7e27 Make mistral use of oslo-config-generator
Change-Id: I01f36e4b0080e10b9d39a6adbfe4b6cd43957fc6
2015-05-26 13:06:09 +03:00
Anastasia Kuznetsova
8919453e10 Fix H904 pep8 error
Change-Id: I6540c5547a68721cc40b46b96da3648be00fa766
2015-02-09 15:23:06 +04:00
Dmitri Zimine
533fdbb546 small tox fixes
* remove py26: it no longer used in gates, and fails the tests on:

    (dt.datetime.now() - time_before).total_seconds(),
    AttributeError: 'datetime.timedelta' object has no
    attribute'total_seconds'`

* don't generate __pycache__ folders

Change-Id: Ifce1e77012bc3be7785597ab84b998209b866ae8
2015-01-09 18:58:44 -08:00
Christian Berendt
7e9e40c18a Whitelist binary 'rm' in tox.ini
To solve the following issue when running 'tox -e docs' it is necessary
to whitelist the binary 'rm'.

---snip---
WARNING:test command found but not installed in testenv
  cmd: /usr/bin/rm
  env: /home/berendt/development/branches/add_doc8/mistral/.tox/docs
Maybe forgot to specify a dependency?
---snap---

Change-Id: I120f221b64038d86afa6611f0f9634bce7b6fc0e
2014-10-08 10:51:04 +02:00
Jeremy Stanley
3a40848786 Work toward Python 3.4 support and testing
Change-Id: I1bea00da2090a381cc774ca0b2e678ffa92a301b
2014-09-03 19:07:00 +00:00
Kirill Izotov
6a47676300 Remove redundant DB API arguments
The main reason is to be able to create root /executions and /tasks
endpoints, the one you should be able to get without knowing their
'workbook_name'.

Change-Id: I94b64f2b0e761259fd09c828bb63075ef898e4e3
Implements: blueprint mistral-ui
2014-06-20 12:54:39 +07:00
Angus Salkeld
afe28f743f Fix Hacking rule H306 and H307
- H306: imports not in alphabetical order
- H307: like imports should be grouped together

Change-Id: Ib7f07bc72c2d1aa95267189c9c373af74854eaf5
2014-06-18 19:19:57 +10:00
Angus Salkeld
1afa6716cb Fix hacking rule H236
H236  Python 3.x incompatible __metaclass__, use six.add_metaclass()

Change-Id: I9c52563203366a7a5cc936b57525402e9c877140
2014-06-18 19:19:57 +10:00
Angus Salkeld
976ef6c702 Fix Hacking rule H302 (import only modules)
Change-Id: Id6407aac9e5a4bdbd730576433032d43dc89f934
2014-06-18 19:19:57 +10:00
Angus Salkeld
9fa8cd669b Fix hacking rules H101 and E265
This is trivial, but easy to get out of the way.

Change-Id: Id261784e71c1b763c60090ffed92430d359f448b
2014-06-16 20:51:29 +10:00
Angus Salkeld
f827fedd19 Temporarily disable the new hacking rules
Change-Id: I951e7fe9fec7a292f2773a5f0e55e9ee8d3d3aeb
2014-06-16 20:23:54 +10:00
Nikolay Mahotkin
9cfc57fed3 Move tests to testr
* Restored tools/install_venv scripts

Implements bp mistral-speedup-tests

Change-Id: I25d4755d1f06a248fe1de87da19f42fecba63404
2014-06-04 14:58:29 +04:00
Angus Salkeld
ba21390f48 Fix H404 multi line docstring should start without a leading new line
Change-Id: Id028ec196dd16696b47614fd77c8adde893dbc56
2014-05-28 13:17:16 +10:00
Angus Salkeld
85b78b4a67 Fix H233 Python 3.x incompatible use of print operator
Change-Id: I85efe06a1d815a016ab7735df1778c6f984d9cca
2014-05-28 13:10:45 +10:00
Angus Salkeld
024ad6e071 Fix pep H301 one import per line
Change-Id: Ie763743beb0219a6068f184113980122cb31fc83
2014-05-28 13:07:51 +10:00
Angus Salkeld
9c2757ca08 Fix pep H231 Python 3.x incompatible 'except x,y:' construct
Change-Id: I00effa3cb87bf334c68eb2c3b65ff46d3fb69e4f
2014-05-28 13:06:08 +10:00
Angus Salkeld
da2d313b8c Fix pep H402 one line docstring needs punctuation
Change-Id: I3b3849615bad84a532f9f747f5449c106252051a
2014-05-28 13:04:33 +10:00
Angus Salkeld
fcd91d860a Fix pep H201 no 'except:' at least use 'except Exception:'
Change-Id: Iac649af181f60f800c508c4dac13c292f030b298
2014-05-28 13:02:58 +10:00
Angus Salkeld
f033f1af45 Fix pep E226 missing whitespace around arithmetic operator
Change-Id: I7f23d6589fe4e635ccaecdf6aa78c4092ee50112
2014-05-28 12:58:01 +10:00
Angus Salkeld
a4852977be Add hacking to the flake8 tests
ignore everything so we can fix issues as desired

Change-Id: I73bcd617040726a0fea5e73910a366adcdb6e03f
2014-05-28 12:57:10 +10:00
Renat Akhmerov
1652d2e7fd Fixing flak8 excludes in tox.ini
Change-Id: I914b4dfd9155b1f813b951c1b41ca462f33c4e12
2013-12-30 21:19:01 +07:00
Renat Akhmerov
039e899d8b Adding REST API application skeleton based on pecan/wsme
* Adding required dependencies to use and test pecan/wsme app
* Adding additional modules from oslo-incubator
* Adding configuration files mistral.conf and specific file
 loggin.conf for logging
* Adding dependencies for testing: fixtures, testtools, mock
* Updating tox.ini to run nosetests for py26 and py27 environments

Change-Id: I4fd63820aaaf3b50fb1c981031f60faa68a6d307
2013-11-27 19:34:43 +07:00
Renat Akhmerov
04903b823e Add .gitreview, setup.py and other infrastructure.
* .gitreview
* Disutils files
* tox configuration
* add .venv to ignore
* "mistral" package
* Sphinx documentation skeleton

Change-Id: I1d9aa5105b0dbc458665e9b16fd84826a18a36bf
2013-11-01 02:57:27 +07:00