Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Jaeger 24d98abd3e Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I658efd028f1b23bc21b327fc55d39a7fa5824ec1
2019-12-18 09:48:08 +01:00
Sebastian Kalinowski c910026314 Extended run_tests.sh to run Python tests
run_test.sh by default runs all available tests and checks:

 * flake8
 * unit
 * integration
 * selected tests

Usage info is available by running command `run_tests.sh -h`.
It is possible to run just selected tests by running
  `run_tests.sh -t selected_tests.py`.
Integration tests require correctly set up.
Removed fabfile and fabric requirement.

DocImpact
Closes-Bug: #1404892
Change-Id: I8dbe2561aba655e698932bb7bb7c2f6f9887f9d7
2015-01-26 12:50:04 +01:00
Sebastian Kalinowski cbe0ea30d9 Added hacking checks to tox
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
2015-01-19 12:36:14 +00:00
Sebastian Kalinowski 98d0287158 Cleaned and made integration tests working
* can be run by tox -epy26 -- fuel_plugin/testing/tests/integration
 * removed code that mimic nailgun
 * used requests_mock to mock http requests
 * added BaseIntegrationTest class that set ups DB
 * it is possible to pass own session when creating
   Pecan app for OSTF
 * added WebTest as a requirement for tests

Change-Id: Id73208c3b0a000c017ec44388e3cecc78d2228a5
Partial-Bug: #1404892
2015-01-13 08:43:04 +00:00
Sebastian Kalinowski bac8730db5 Reorganized and cleaned unit tests
Now all tests in 'unit' directory can be easily run
 * http requests are mocked
 * do not require access to /var/log
 * do not require db access
 * "integration" tests are in separate directory
 * tox -epy26 -- fuel_plugin/testing/tests/unit/ allows
   to run tests for now (will be added to run_tests.sh in the
   future)
Introduced requests-mock to mock requests calls
Moved "base.py" from unitests dir to better place.

Change-Id: I94ce611015e6d33675f94a04082da2aa6878074a
Partial-Bug: #1404892
2015-01-08 09:27:37 +01:00
Sebastian Kalinowski 7c9a83539c Improved tox configuration
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
2015-01-07 11:16:23 +01:00
Dima Shulyak 5d24a68269 Ostf config refactoring
- Use oslo.config as single configuration option
- some tests usage clarification

Closes-Bug: #1326351
Change-Id: Ibff61181f338d28cb43eb61d6a73e5b80d6dbe7f
2014-06-24 15:21:39 +03:00