5 Commits

Author SHA1 Message Date
Vladislav Kuzmin
7fb06e8317 Repair tests coverage utility
Add requirements for coverage utility.
It makes it possible to run `tox -e py27-cover`
and 'cover' directory will generated with
tests coverage report in HTML format.

Change-Id: I38c4197246fab4d0b8ea9ba3c61cc10966a1fc9e
2015-03-19 10:58:51 +03:00
Vladislav Kuzmin
16affe2d12 Improve database creation for testing
Create MySQL database before starting tests and cleanup after that.
MySQL database is able to work in standalone mode where establish
connection using a Unix domain socket.
This patch makes it possible to perform functional tests with `tox -e py27-func-mysql`.
If an enviroment variable REFSTACK_TEST_MYSQL_URL is set then tests will run with it
and a database will not be created.
Update test requirements.

Change-Id: I0cdba19701bbf06109e78f78f275038caeecd881
2015-03-06 10:14:04 +03:00
sslypushenko
88a24238fa API with DB
Change-Id: Iedf19086d7e0fde059cfbaedc92b8ac1ff297cfc
2015-01-19 18:35:56 +02:00
sslypushenko
b70482622c py33 tests fixed
Some requirements were updated to py33 compiliant versions.
Also imports were modified according to py33 compatibility.
https://storyboard.openstack.org/#!/story/117

Change-Id: I4422f1bcfb02fd27b0c275ef58b19fdfb386cd17
2014-07-22 09:37:21 +00:00
david
13ecce15f5 added tox.ini
Change-Id: I8ba7000fa12227487f2777ebeca4b30f202364aa
2014-03-01 17:36:44 -08:00