| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Similar to a range of other components (e.g. glance,nova,...) and recent
reviews by Monty.
Running individual tests can be done like this:
./run_tests.sh keystone.tests.test_drivers
Change-Id: I2482a48322150e5eb09b703326a94d8283f1c75b
|
|
|
|
|
|
| |
Existing flags (e.g. --pep8) are intentionally left alone.
Change-Id: I300aaee17294b88c7d1ba4daad462af407c67d4f
|
|
|
|
|
|
|
|
|
| |
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.
Fixes: bug #1179008
Change-Id: I1a19f0c73ab48987e2ff0dade1a57a68b65f0a22
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
when using ./run_tests.sh with -xintegration this test fails
with a duplicate option error, we shouldn't be running it there
Change-Id: Idb0f7608bbefd2975958ae30977e9a4d5debfc1f
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
saves a bunch of time in the tests (the savings are more noticable
if you are not running the integration tests)
before:
Slowest 5 tests took 5.80 secs:
1.53 TokenExpirationTest.test_maintain_uuid_token_expiration
1.22 TestTokenRevoking.test_deleting_group_grant_revokes_tokens
1.08 TestTokenRevoking.test_group_membership_changes_revokes_token
1.06 IdentityTestCase.test_crud_group_domain_role_grants
0.92 CatalogTestCase.test_create_endpoint_on_v2
----------------------------------------------------------------------
Ran 1274 tests in 149.136s
OK (SKIP=84)
after:
Slowest 5 tests took 4.82 secs:
1.53 TokenExpirationTest.test_maintain_uuid_token_expiration
0.90 TestTokenRevoking.test_deleting_group_grant_revokes_tokens
0.84 TestTokenRevoking.test_group_membership_changes_revokes_token
0.78 Kc11TestCase.test_token_expiry_maintained
0.77 TestTokenRevoking.test_deleting_user_grant_revokes_token
----------------------------------------------------------------------
Ran 1274 tests in 102.986s
OK (SKIP=84)
Change-Id: I1f39ad0412e739a333e4b755ca00a94ccbf400be
|
|/
|
|
| |
Change-Id: I9d4d2713da7e14c7875319ccf9302b98f0a30805
|
|
|
|
| |
Change-Id: I65e9ce051012b3afc9a088423f9d805927604331
|
|
|
|
|
|
|
|
| |
This commit adds an update option to run_tests.sh. This option
is used to rerun install_venv.py on an already installed venv.
This will then just update out of date packages with pip.
Change-Id: I8a0a8ba5a9015950bc271f11cbc77308d993fde3
|
|
|
|
|
| |
Verbose PEP8 output is explicitly intended to make it easier for new contributors to propose acceptable patches.
This reverts commit 1f01d30983e3a67a146308ff8766f057bc5b7958
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the PEP8 output that describes in detail how to fix each
problem. It makes pep8 review so long that the earliest lines scroll
out of the scrollback buffer before they can even be read.
With this change, each violation is on line long, which is
much more readable.
Change-Id: I0d8cc64fd6027419754732e314c047b3775a121c
|
|
|
|
| |
Change-Id: Ide81b1ea9230ceb2ad463d4f253eb7021fc683da
|
|
|
|
| |
Change-Id: I34c6f4fe8ff51221bd188fbce89ba89a56aae0b7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tox.ini already ignores keystone.openstack, so run_tests.sh should as
well.
- Fixed: No files were being ignored
- Removed non-existent files from ignored list
- Using commas to seperate ignored files
Colons didn't work at all for me, and the pep8 man page illustrates
the use of commas.
Change-Id: Icd260ba5c0fa37040f66d1f913fc7940d69eda68
|
|
|
|
|
|
| |
remove redirect to logfile with updated test runner
Change-Id: I27923e7c91fbe3c57adfae210467fffaf9f52d80
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move specific functionality into test fixtures, so that normal test runners
can work. For now, this means we can use unaltered nose. For the future, it
gets us closer to being able to use other test runners such as testrepository
which allow for things like parallel test runs and re-running failed tests
in a dev/test cycle.
Also, aligns keystone with nova and glance.
Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
|
|
|
|
|
|
|
|
|
| |
Fixes bug 1021508
Test code should be as pep8 compliant as source code, however right now
'run_tests.sh' only runs pep8 for source code.
Change-Id: I877493a8bf6f28bef71fe2aca6f188a75798225f
|
|
|
|
|
|
| |
* fixes bug 948495
Change-Id: I274bfe9611d677c44117a0d9ff67394790794fc4
|
|
|
|
| |
Change-Id: Ia36a22f2d6bba411e4fad81ea2d6fa1f0465a733
|
|
|
|
| |
Change-Id: I528c3cc4e16dfa1465c8e3ac1062c65dc2ddc2f0
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|