after https://github.com/openstack-infra/project-config/
commit/7334ceb347329ccbc04dc6bff536e88e12783a86 we do not need to
create db, user, role.
Also add usage of CUSTOM_OSTF_CONFIG env variable, to pass
correctly dbpath tp fuel_plugin.config.py
Closes-Bug: #1554086
Change-Id: Ic2881e1cb17693ab616044029325a601d2b04e2c
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.
Change-Id: Ibc1d5f9550d2c62f2d9a74cf52461c4902514130
When a development environment is under a proxy, tox is failed even if
environment variables of the proxy are set.
This patch fixes this problem.
Closes-Bug: #1525115
Change-Id: I271ab2581af08ffe0a345b0b795f8ae733e6cc0a
The thing is that nailgun tests require postgresql backend to
be available. So, we need to prepare it before running tests.
Fortunately, all unit tests are run on nodes where postgresql
is installed.
Change-Id: I8f93bb78cb4144f993fb55936e157b5fe153a4c1
Closes-Bug: #1516609
Fixed all places where hacking rules (v0.7) was failing
Replaced ''' with """ to make them consistent
Change-Id: I9c1c20f910df696056d2a6a91c33ff7bad266b9f
Related-Bug: #1404892
Closes-Bug: #1408240
tox.ini is now similar to the one from Nailgun's code:
* renamed 'pep8' env
* added 'venv' env to run any command
* replaced pep8 script with flake8
* flake8 conf inside tox.ini
* updated requirements for new tox.ini
Change-Id: I74c9b7f7bd137b6284e4e3dd5c131f348b564d78
Partial-Bug: #1404892
- Use oslo.config as single configuration option
- some tests usage clarification
Closes-Bug: #1326351
Change-Id: Ibff61181f338d28cb43eb61d6a73e5b80d6dbe7f
Use latest flake8.
As a part of flake8 fixes:
- fix node_username in fuel_health/savanna.py,
- fix --tests option in fuel_plugin/ostf_client/ostf.py.
Change-Id: I3f8b667cf73e6426300febdb476bd2a312ba5baa
Closes-Bug: #1321907
support these changes were added. To fabfile task that performs creation
of new alembic migration was added. Additional refactoring and non-major
fixes.
cluster_id field was added for test_sets (migration script was
supplied). Logic of discovering test_sets and tests was moved to
controllers (test-set controller). Nose plugin was refactored. Tests was not be
supplied for new features.
Test discovering in controllers. Models description and discovery logic changing
New pure init revision for alembic (other have been deleted). Some non-major refactoring to other files
All system was refactored in order to support new logic of discovering test_sets and tests in ostf runtime
Non-major fix in fabfile. For unit tests logic that controlls data writing to db from tests has been added. Test for nose_discovery have been supplied
Some non-major fixes to nose_discovery plugin. Unit tests for nose_discovery have been finished
deployments_types_tests were added for the purpose of testing new discovery behaviour and with intesions to keep logic defined with dummy_tests. Unit tests for nose discovery have been fixed.
New fake empty tests were added just to keep logic defined in dummy_tests
Unit tests for wsgi_controllers have been fixed
unit tests for wsgi controllers have been finished
Some fixes to wsgi contorollers (now test_set controller returns non
first result from query but all; test controller return all tests with
no test_run id present within it). Nose discovery function was fixed:
now it searches for test_sets for given cluster id without checking data
in db (in this case sqlalchemy merge should prevent from making
dublicates). Some methods in nose_storage_plugin were fixed for the sake
of supporting new behaviour of get_description function (with new
addition value returning - deployment_tags). Attemptings to rewrite
functional tests were made thus TestingAdapterClient was modified. Some
other non-major fixes were added.
New changes to nose_discovery func (checking out of cluster's
redeploying, implementing is not finished). Some changed to controllers
(mostly to returning value). Nose discovery tests were changed in order
to implement future changes. Proper processing of debug_tests path was
added to wsgi_utils.
Some fixes to discovery logic and different tests
BaseTestingAdapter was simplified. Several functional tests have been
fixed.
For Test class new element 'disabled' for statuses enumerate was added.
New initial_migration was added (since models were modified). Functional
tests were fixed to support new logic.
Smth strange with wsgi_utils.
Test for redeployed cluster were added to test_wsgi_controllers.py.
multinode_deployment_tests were fixed.
Change-Id: Ie9acfc6b57c4c3d2d1e5a7480929328fb193bf2c