Hello, Recently system_test framework had changes [0] which incompatible previous test case design.
Now it has separate packages for: - actions - contains classes with test actions - core - contains core functionality and decorators - test - contains base test and test cases - helpers - contains some additional tools Some re-design of system_test packages: - actions were moved to separate packages (system_test.actions) - core functionality was moved to core packages (system_test.core) - added system_test.tests.base.ActionTest as main base class for tests, all cases should inherit it. - all test classes should inherit one or more classes with actions. Specification can be found here: [1] IMPORTANT! If you use 3thd-party tests with this framework, you should: - use decorator @testcase for mark class as test and set groups - test class should inherits ActionTest and additional action classes from system_test.actions package if required. - remove case_factory() function from your test cases because it is not used anymore (was replaced with @testcase) - base_group class attribute moved to @testcase decorator, now it should be used like this: @testcase(groups=['system_test', 'system_test.delete_after_deploy', ...]) P.S. This changes affect only tests in 9.0. [0] - https://github.com/openstack/fuel-qa/commit/82b392284a3a621aaa435c78d96dde799dfe2372 [1] - https://github.com/openstack/fuel-specs/blob/master/specs/9.0/template-based-testcases.rst -- WBR, Dmitry T. Fuel QA Engineer http://www.mirantis.com
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev