Commit Graph

20 Commits

Author SHA1 Message Date
Ilya Shakhat bce5702bec Update constraints handling
Change-Id: I948c64fb42aad8fe5e956e821f3331a266c80db0
2019-05-29 16:55:19 +02:00
Zuul cd747e50df Merge "Use bindep to specify binary dependencies" 2019-01-07 16:54:25 +00:00
Ilya Shakhat 956eb44277 Use bindep to specify binary dependencies
Change-Id: I16dcd0bbf891b05b3e252795edac7550fb57be77
2019-01-07 10:52:25 +01:00
ZhijunWei 3815e94721 Update hacking version
Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: I379e5684ada1b0c961260f2017543479080f8c23
2019-01-06 19:04:51 +08:00
Ilya Shakhat ff78b92048 Tests cleanup
* Remove dependency on ansible and libvirt libraries
* Bump python 3 version to 3.6
* Fix python warnings in the code

Change-Id: If7b495e9c3b2f5031d535954c3c3280e247871a6
2019-01-02 13:28:27 +01:00
Ilya Shakhat fedc060158 Specify auth parameters in devstack tests
Single-node devstack does not have SSH key for stack user.
In all tests we will use custom os-faults key and connect to localhost
as `stack` user. Tests are also executed as `stack` user explicitly
(by default they are run as zuul user, but we do not want to rely on this).

Change-Id: Ibcc9a406dc850363e651d4023874147db45214f7
2018-12-19 12:24:44 +01:00
Ilya Shakhat 037a321506 Modify integration tests job to run on DevStack
Change-Id: I5ae22b3a02bd67534c8acb73c968b36f20008b31
2018-12-17 12:18:53 +01:00
huang.zhiping 11e2f8a7e2 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Ie0fd5165d9b65ec1fc443ad08eaf7b708bfe73d4
2018-06-09 19:08:34 +08:00
Ilya Shakhat 9534077689 Add integration job for Zuul
Change-Id: I0f4d71322eef32dd9ff14ea14f3287d6c2559a09
2017-11-02 14:11:21 +01:00
Anton Studenov 03fa8812fc [docs] Add documentation for config file
* Changed theme for readthedocs.

Change-Id: Idbfdd6b9e9fc0340074c3e0ea44394a5be18de61
2017-04-25 11:34:35 +03:00
Anton Studenov 34edf10456 Update requirements
* bump pbr>=2.0
* bump hacking to unblock pep8 gate
* removed workaround in tox.ini

Change-Id: I508a68b0351900ca1132441b88679d183e00af90
2017-03-02 11:47:36 +04:00
Anton Studenov 66d394be2b Add docs for drivers
* Added docstrings for all drivers
* Added sphinx extension for generation of docs for drivers.

Change-Id: I7b8dfb21f9324b413174c910384b9ae8f458a8d2
2017-01-26 19:27:41 +03:00
Anton Studenov e2e0320e4f Make libvirt-python an extra requirement
This patch moves libvirt-python to extras.

Change-Id: Id129ab0a280b12e1bd0bfc1214c76a087c572a0d
2016-10-12 15:14:31 +03:00
Yaroslav Lobankov 73de456dc7 Small cleanup before the first release
Change-Id: Ia5da8a9cf7e0533ff92639ea7fdd479269084c6a
2016-09-27 16:03:01 +03:00
Yaroslav Lobankov f99be812f2 Move unit tests from os_faults/tests/ to os_faults/tests/unit/
Change-Id: I56b25acb032f9a5ecf5d80b0f305b4ca5e9fff1d
2016-09-27 15:13:54 +03:00
Ilya Shakhat 1285f3720e Fix py35 tests
1) It's revealed that tox ran all tests under py27 instead
of py27 and py35
2) Method-discovery in human api was broken under py35 because
in py3 class methods are reported as functions not bound methods.

Change-Id: If57a624f96d912c9f89c6c97c37cb800df96957b
2016-09-22 12:00:01 +03:00
Anton Studenov cc99f5cca7 Allow to view logs from pytest
This patch allows to view application logs in failed test reports
from console.

Change-Id: I94d036a4b962108768deb59739bce54903184469
2016-09-15 17:46:01 +03:00
Anton Studenov 27fe6b40ed Use pytest to run test in tox
py.test gives more readable output for tests.

Change-Id: I134b122b5398c24e6012e26f384bc607753ec872
2016-09-14 17:46:33 +03:00
Ilya Shakhat 5f9d7a0454 Tune tox.ini and update readme 2016-08-08 12:23:48 +03:00
Ilya Shakhat 036c51f855 Initial Cookiecutter Commit. 2016-08-08 12:06:17 +03:00