Commit Graph

15 Commits

Author SHA1 Message Date
Sylvain Bauza
eb0c81f95a Port to Pecan/WSME for API v2
Routing either V1 or V2 using a Facade. By default, V1 is enabled
but can be deactivated by a confflag.

Pecan controller for Lease created using WSME i/o validation

Implements blueprint: pecan-wsme

Change-Id: I9047abece78632daa13fdebfea9fb8aaa3c60981
2014-03-31 13:45:48 +02:00
Pablo Andres Fuente
2ced1925b8 Adding migrate and lockfile to test_requirements
In order to fix the coverage report, sqlalchemy-migrate and lockfile
were added as test_requeriments.

Change-Id: I67321ea63475103d9e8cce933e5e9e82634f1787
Closes-Bug: #1299680
2014-03-30 11:59:56 -03:00
OpenStack Jenkins
9daf3d8c97 Updated from global requirements
Change-Id: Ib25180fe110491a0d00cd5740b0296a48ff178cf
2014-02-23 09:33:17 +00:00
Dmitriy Dyachkov
51e549b91f Add pylint check for Climate project
This commit add pylint code checking for Climate. After we merge this
patch you can use pylint simply running 'tox -e pylint'

Change-Id: Ic118552ac401286d2b56cccde4ae6082864d4927
Implements: blueprint pylint-support
2014-02-17 15:03:21 +04:00
OpenStack Jenkins
bac9cf583b Updated from global requirements
Change-Id: I7c100b951689561919dd925f13b09be638c05aab
2013-12-10 22:22:58 +00:00
Nikolaj Starodubtsev
ca33dc3484 Switch on coverage support for unit tests
After we merge this patch we can use 'tox -e cover' and see how is our
code is covered with tests. It's very good for proper code process.

Change-Id: Ia39145727b0dc55879cd807e2ef4fc2de331c9a4
Implements: blueprint coverage-for-testr
2013-11-28 13:06:00 +04:00
Dina Belova
429b48fae0 Remove nova dependency
Nova filter should be removed to the separated repo.
That fixes Jenkins tests/gate jobs fails.

Fixes: bug #1254018
Change-Id: I725dd222204f159e9fe3b1ebd64292de62d62a1b
2013-11-22 17:16:23 +04:00
Julien Danjou
fe64cb2178 Run tests using testrepository
Change-Id: Ic0b4146d18fe7dba6f7c43c48ad6507147ef11eb
2013-11-19 13:41:02 +01:00
Sergey Lukjanov
0041846fb8 Upgrade hacking to the latest version
Change-Id: I1c3b8e45d9e2618eb4ef9be23bb7746068354b32
2013-11-15 21:58:17 +04:00
Sergey Lukjanov
b1e9a1c62b Sync with global requirements except hacking
Change-Id: I786eb296d19315b563ad99dcad33307e89f60844
2013-11-15 14:57:41 +04:00
sbauza
fd6ee96f20 Add Unit test framework and provide unittests for DB API
testtools and fixtures for performance improvements compared to unittest
Please use test.py as a base for further unittests

Re: DB API testing, only CRUD lease has been tested, CRUD Reservation
and Event shall be tested too. I will provide another review once I'll
finish the Manager Extension for Host Reservation.

Refactoring previous unittests for using the framework
Rebased requirements

Change-Id: Ia9a187c45e40f891c8478fb234dd021cffadbe03
2013-10-18 16:14:59 +02:00
Dina Belova
75fd0fdd56 Add basic documentation possibility.
Change-Id: Iad96149b10cd5b72fe73dca0b120a0f666cc5565
2013-10-14 16:55:29 +02:00
Dina Belova
9f423371cd Fix packages versions to match global requirements.
While fixing SQLAlchemy version modify Base Model class.

Change-Id: I3e94a5abe4e7f5c85fe72d02f6f8048a7bd10d34
2013-10-09 22:11:14 +04:00
Dina Belova
15c99a7ec6 Use flake8 + hacking instead of pep8
Ignored:

* H803: git commit title ('%s') should not end with period

Change-Id: Ifd8db6655a1a0c66f58fcf0ec74a93aa2d1265fb
2013-10-09 22:11:14 +04:00
Dina Belova
3e610f498d Migrate to pbr
Change-Id: I733ae148c300165a35c7bba5cc3c331dc96d3df2
2013-08-19 20:55:41 +04:00