Commit Graph

7 Commits

Author SHA1 Message Date
Luigi Toscano b3447fbf90 Remove Tempest-like tests for clients (see sahara-tests)
The tests removed here are now available in the Tempest plugin inside
sahara-tests.

Also remove few test dependencies which are not needed anymore (as a result
of this code removal but also of previous changes).

Change-Id: I6394cd0ed01d7799ba303fd36e4777018de16854
2016-09-09 16:43:43 +02:00
Matthew Treinish f48eb7d985
Remove unecessary decorators from private interface
This commit removes the usage of the services decorators from the
tempest plugin tests. That decorator is an internal interface and
not meant for external consumption, and is now causing failures
because of recent tempest changes. Plugins should only use documented
stable interfaces. [1]

Also the use of the decorator here actually adds nothing to the tests.
They do 2 things, add a test attr to filter by service and add a skip
check on the service availability. However both of these are already
done, data_processing is already part of the test_id so filtering
will just work and the skip check for sahara is baked into the base
test class. So using this decorator does nothing except break the
plugin.

[1] http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

Change-Id: I45587d065c1b7b7f28feb29e8845f8f0f8405b8c
2016-06-28 11:53:22 -04:00
Luigi Toscano d091e50afe Use the integrated tempest.lib module
Tempest-lib has been reintegrated into tempest (as code, but it still provides
a stable API). The old library is still available, but tempest tests are
failing because when sahara is installed and exports the scenario tests
for python clients, python-lib is not installed (it's correcly in
test-requirements.txt, not requirements.txt), and tempest does not
install tempest-lib anymore. Hence, fix the tests to use the new
official location.

Change-Id: Iaded03ee387b4a0bbabb7bfe9e54d38e010d9c4f
2016-02-26 11:24:32 +01:00
Evgeny Sikachev 8b7fc09bcb Adding tests for checking updating of templates
Need add checks for testing updating of sahara resources

Change-Id: Ifeb9a312236753884ef3f120f1ae579dcb77b4ed
2015-11-18 13:18:01 +03:00
Luigi Toscano 09279d54d5 Adapt python client tests to use Tempest plugin interface
Use the Tempest plugin interface for python client tests (which
are already tempest-based) instead of copying the tests inside
the tempest tree.

Inspired by the same type of change applied to Manila,
see Ie5ed64a6777ed1acf8dd56522c26705ae897596d

Depends-On: I06f1e13207cc6d661c078c4c4cf1ae7974ecf3da
Change-Id: I6073a528413aefd96882179a1eb8bbe715c6417b
2015-09-18 14:13:04 +02:00
Sergey Reshetnyak c9a6e2fc50 Change imports after moving tempest common code
All tempest common code migrated to tempest-lib

Change-Id: I25203b5dfc73abafa1738669d20a7e270e542396
2015-03-11 16:59:47 +03:00
Andrey Pavlov 8f5ae97331 Saharaclient tests for tempest
implements bp: saharaclient-tests-in-tempest

Change-Id: I1a491d0ee566e3bd4ab1957ac400806c60602686
2014-12-12 15:38:08 +03:00