| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit removes the try except logic in auth.py to import urlparse
on either python2 or python3 to use six instead. Six already provides
an interface to use urlparse the same way on either python2 or python3
which is a bit cleaner.
Change-Id: I964586af4b2df63ae81b09ac1c3f1397b0250b80
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a subunit stream for a testcase doesn't contain start end enddate,
the duration can't be calculated which leads to a:
ValueError: could not convert string to float
Check now if the duration is an empty string and add basic test coverage
based on ddt for the subunit_trace command.
Change-Id: I6fdc8d283e67becbecf58b7779e33271db048a73
|
| |/
|/|
| |
| | |
Change-Id: Iffdbd6aefa287c9f8e40751e64d3d77ea7cbefd2
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit migrates the ssh common module from tempest. This module
provides a wrapper around paramiko to provide ssh connectivity to
a remote server for testing.
At the time of this migration commit the latest Change-Id for
the module was:
* tempest/common/ssh.py: Ia0de957b681cb924a57af98d99a9389ee234ed5b
Change-Id: Iad5ffbfe18690f1b6f178dde31a8ec0d0666c815
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds a unit test for __str__() of rest_client.
Change-Id: I3402903277250924862c0aef468b98dcdf860ad6
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Release notes: http://lists.openstack.org/pipermail/openstack-dev/2015-January/054165.html
Remove deleted hacking rules from tox.ini (H803, H402, H305)
Fix minor W292 issues from new hacking.
Change-Id: I67ea3467ded1ec5b82ce03b4f65e697c3defd29a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit adds docstring to data_utils. This would help people who
use this module.
Change-Id: I91a91f73f2236e3fa7b0e53abe1cb9e9fc83a36b
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit adds some unit tests for properties of rest_client.
Change-Id: I5237f7140c6b6410564b0e5b1912ca667e7d2e29
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
This commit adds a unit test for get_versions.
Change-Id: I6b1a72ba6ff06fa2c4265574a27ae3b1506b823b
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch fixes typos in docstring on rest_client module.
Change-Id: I09a20310565a3926c8233c119b225c0a7d0ca396
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Migrated test_credentials.py from tempest
This migrates the above files from tempest. This latest Change-Ids of
each file at the time of this migration of each fare the following:
* tests/test_credentials.py : I9e0dafd77ed0786b9a7455185d856fdc869daa76
to see the commit history for these files refer to the above sha1s in
the tempest repository
Depends-On: I9e0dafd77ed0786b9a7455185d856fdc869daa76
Change-Id: Ib24f3c26bcc97b9de635b50b6ffa10627cd881d4
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds unit tests for __str__ method of Responsebody* classes.
Change-Id: Iaefce08eb6481da6e0f6f47b2ec863c391f232c4
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
This commit adds a unit test for get_ipv6_addr_by_eui64.
Change-Id: I5290238b5f5e7ed8c0c08fe4e08e7af326ed916b
|
|/ /
| |
| |
| |
| |
| | |
This commit adds a test case for rand_name with prefix.
Change-Id: If0269d59cf45843cf50f7436df46c063693fb060
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
This commit adds test cases for random utilities.
Change-Id: Ia3ff0515568e62aa8bc499d970d1b107da20a2e4
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
When we used tox -ecover, an error occurred about
'coverage-package-name'. This patch fixes it with changing the argument
of setup.py.
Change-Id: I419683f2474ce37a1df82b611c8637c0c76c9df7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commits an optional prefix kwarg to the rand_name function in
data utils. The intet of this argument is to allow a consumer of the
function to wrap randname to specify a project specific prefix to
all the generated names. For example, this will be useful for
identification of test created resources in case of bugs causing
resource leaks.
Change-Id: I7f7a1313ccbd8c5ef1e720537c16d60c89ed5923
|
| |/
|/|
| |
| | |
Change-Id: I275828691e8a1e412423fec0b8361cbc8f95b30a
|
| |
| |
| |
| |
| |
| |
| | |
This exception is used in tempest-lib and should have been
migrated as part of auth.py. Adding it now.
Change-Id: I4eea69260a7492e5d1a2ab3a7418b7d8bbea81db
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Migrated auth.py, test_auth.py, fake_credentials.py, fake_identity.py,
fake_http.py from tempest, as well as the EndpointNotFound exception.
This migrates the above files from tempest. This latest Change-Ids of each file at
the time of this migration of each fare the following:
* auth.py : If5a889be5826d60bf61dbb84661a5896cb094875
* tests/test_auth.py : Iedcd2fa7713409743b1b4b9f460481608796d491
* tests/fake_credentials.py : If5a889be5826d60bf61dbb84661a5896cb094875
* tests/fake_identity.py : Ie405ba6a71d29258e99d2f0b68afb013a9619e9b
* tests/fake_http.py : I8f14cd2ca6afc38d3fe8ee758272071111022896
to see the commit history for these files refer to the above sha1s in the tempest repository
Change-Id: I073d728a2cbf2f6ddde0a8629cc53eccbe3d6d8f
|
|/
|
|
|
|
|
|
|
|
|
| |
The current implementation uses an hard-coded git:// URL to clone
tempest from. Supporting specifying an alternate URL via command
line, as git:// does not work from behind some corporate firewalls.
The default URL - if none is specified - will still be the one
currently hardcoded in the script.
Change-Id: Ia927f597c719ad0c3e8ae4b59f888e6696d8fead
|
|
|
|
|
|
|
|
|
|
| |
Migrate v2 and v3 identity token to tempest-lib.
Compared to tempest, dropping the legacy json folder.
Migrating ResponseBody* classes as well into rest_client.py,
as they are needed by the token clients.
Change-Id: I9b2dac8363772f004b9dc00dbdeb0e9f8205f6db
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This commit adds docstrings for api documentation to the rest client.
Since this is a public interface we should document it.
Change-Id: I303d11bb1a9252f0815f295698b65fd01f90d969
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Id7110c027a742579ad61000a47aab6cc2ee945af
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The info logs make it very easy to parse the requests in tempest log
file. However on gate runs we run tempest with debug so we can see the
full req and resp for ever call. However it makes the log just a mess
of debug statements and difficult to trace through by hand. This commit
adds the info summary messages back even if debug is set so that we can
trace through. There will be a slight duplication of logging, but it is
worth the tradoff.
Change-Id: I5499f231a91342a184d254e95bc72a7480a0ece0
Depends-On: Ia0de957b681cb924a57af98d99a9389ee234ed5b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The use of launchpadlib should not be required for tempest-lib, however
because we wanted to expose the skip_tracker as an entry point and
package it with the library an import to launchpadlib was needed in the
packaged source, which normally should require an entry in the
requirements file. This commit addresses that by making the
launchpadlib use not mandatory. The script will check if launchpadlib
is available and if it isn't the skip tracker will just exit after it
scans for the bug list.
Change-Id: I59814346e899e366734caaf757eb2d8fe5ecbcf7
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This migrates the skip tracker tool from tempest into tempest. This includes tempest commits:
9051bb5 Merge "Remove vim headers"
4732c3d Merge "Add filenames to skip_tracker.py output"
bae2a99 Add filenames to skip_tracker.py output
83181a9 introduces skip_because decorator
39f9722 Replace OpenStack LLC with OpenStack Foundation
155706e Merge "Fix skip tracker regex for multi-line skips"
bd6fcb6 Fix skip tracker regex for multi-line skips
0d2b766 Merge "Use Python 3.x compatible syntax constructs"
1db5db2 Use Python 3.x compatible syntax constructs
b419cfb Merge "Update skip_tracker test directory"
07f51e6 Update skip_tracker test directory
326722e Merge "Make skip_tracker bug keyword detection more robust."
1f82a17 Make skip_tracker bug keyword detection more robust.
7dfa10e Merge "Add duplicate bug detection to skip_tracker.py"
d2a4c08 Add duplicate bug detection to skip_tracker.py
a3d2ab7 make skip_tracker directly executable
a6aa5f2 Fix checks in server listing only lok for an ID
50a49ff Merge "Adds a script for tracking bug skips in tempest"
257d3f8 Adds a script for tracking bug skips in tempest
to see the commit history for these files refer to the above sha1s in
the tempest repository. The original script is modified slightly to
make it not tempest specific.
Change-Id: I024509445f2652055903739321715bfe842b8321
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit migrates all data_utils with tests and the misc utils
unit tests from the tempest repo. This includes 3 files from tempest
tempest/common/utils/data_utils.py,
tempest/tests/common/test_data_utils.py, and
tempest/tests/common/test_misc.py. This includes tempest commits:
2d88e49 Merge "DHCPv6 network tests"
41fa16d Hacking rule to forbid resource unsafe fixtures
bfa86c6 Merge "Use random binary data for test images"
5c3b6fe Use random binary data for test images
165a743 Merge "Refactor random url generation into its own method"
064e965 Refactor random url generation into its own method
9f921d6 Merge "Refactor _find_caller into a public test finder utility"
7efa5c3 Refactor _find_caller into a public test finder utility
f1794eb Merge "Add utils.misc unit tests"
4f46805 Add utils.misc unit tests
1fcf139 Merge "Add unit test for data_utils"
30f07b3 Merge "Remove unused build_url function in data_utils"
ce7c696 Add unit test for data_utils
c0a1e5c Remove unused build_url function in data_utils
fea1a7e Merge "tighten up isolated creds create"
6969b90 tighten up isolated creds create
9051bb5 Merge "Remove vim headers"
e8d31a0 Remove vim headers
e40967e Merge "API tests for Ironic"
62b1ed1 API tests for Ironic
5331151 Merge "Test image member is enforced"
a709b76 Test image member is enforced
4a2431d Inject "-tempest-" string to rand_name
39f9722 Replace OpenStack LLC with OpenStack Foundation
bb7ce44 Merge "Reduce chance of name collision for resources."
88d4f7c Reduce chance of name collision for resources.
d65aec0 Merge "Fix flavors tests so they can be run in parallel"
8abacf3 Fix flavors tests so they can be run in parallel
fc9e333 Fix PEP8 compliance problems
59889b7 Merge "Fix T401 and T402 errors"
f237ccb Fix T401 and T402 errors
34afe48 Merge "Fix import order to comply with import ordering rules."
a83a16e Fix import order to comply with import ordering rules.
4ef897c Merge "Fix and simplify arbitrary_string. lp#1085048"
47737d8 Fix and simplify arbitrary_string. lp#1085048
7ccda8c Simplify parse_image_id.
d246eb4 Merge "Initial add of Swift tests"
5d73443 Initial add of Swift tests
a5feec9 Merge "make the rand_name value shorter"
6ec6fc2 make the rand_name value shorter
aeddf63 Moved parse_image_id() to data_utils
3d9da9b Merge "Addresses lp#942382 - refactor configuration for clarity"
587385b Addresses lp#942382 - refactor configuration for clarity
25dd196 Merge "Fixed issue with white space after pep8 review Code...
7fb1efa Fixed issue with white space after pep8 review Code review...
ed8bef3 Changes the namespace from storm to tempest, as well as ...
e1b050d * Added build_url() utility that returns an endpoint URL based...
cb5d954 Removed unnecessary 'self' reference
1465d61 Initial import of tests from the Zodiac project. On suggestion...
to see the commit history for these files refer to the above sha1s in
the tempest repository
Change-Id: Idecf25bef6eeffb8b06387ac95d9060edb58be46
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit switches to using the oslo.log library instead of the
locally synced version from oslo-incubator. Also, since Tempest-lib
doesn't actually use oslo.config for anything except oslo.log now
that we're using it as an external lib let's remove oslo.config from
the requirements file.
Change-Id: Ia4f12b747643637d93bf6873563b6c34924c5bb0
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The incoming stream has the xfail data but count_tests was not
matching on the xfail status. Instead it was matching on the
fragment 'fail' meaning that expected failures were counted as
such. By bounding the regular expressions it is possible to get more
specific results will still leaving the count_tests method flexible
for other users where fragments would be useful.
Counts of 'uxsuccess' are also summarized as "Unexpected Success".
It's unclear how to effectively automate testing of this. Manual
testing returns the expected results.
Change-Id: I5b1458f9a98712ea3e424d2c9610b915055138af
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit is the first step in improving the library's documentation.
It adds missing details to a lot of the default cookiecutter docs which
have mostly sat untouched since the repo was created. The release notes
are also brought up to date and adds autodoc pages for all the modules
with public functions.
Change-Id: Id249c95fb269d07628952a4182675bce1fc18a53
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
One of the biggest issues with subunit-trace is when non-subunit data
is passed into it gets dropped by subunit trace. This patch is an
attempt (based on a similar patch to subunit-2to1) to allow non subunit
data existing before the subunit stream to be printed on stdout. After the
stream is detected however any other stdin unrelated content will still be
lost.
Closes-Bug: #1420067
Change-Id: I94c428120892b987c372473ac2128d73e9ba8f2d
|