| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
This library no longer supports Python 2, thus usage of six can be
removed. This also removes workaround about pickle library used in
Python 2 only.
Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
|
| |
|
|
|
|
|
| |
First parameter should be the expected value.
Change-Id: I2941296e38c3245da298cc64aeb5636fbc4b2eb6
Partial-Bug: #1357117
|
| |
|
|
|
|
|
|
| |
This example is not automatically tested and is better
served by other examples involving conductors, jobs, and
such so it doesn't seem to have much value to retain it.
Change-Id: Idc622bb6e6098507c99758614a96feb6a8a9b0c8
|
| |
|
|
|
|
|
|
| |
Instead of using a custom update() mechanism just take advantage
of a metaclass that can dynamically add our desired test functions
on in a more pythonic manner.
Change-Id: I8f4940f85dd7b5255c181795606ac76ca5605baa
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit makes a set of small adjustments to examples.
- Rework some of the comments to be more clear.
- Add links to the original source tree file.
- Rename some of the examples to make it clear the
concept the example is intented to show.
- Move some common example functionality to the
example utility file.
Change-Id: I858e0dbf72fe8cb40a05bfdbb0857720ffb71c7f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update hacking to the new requirements version and
fix about half of the new reported issues. The other
hacking issues are for now ignored until fixed by
adjusting our tox.ini file.
This commit fixes the following new hacking errors:
H405 - multi line docstring summary not separated
with an empty line
E265 - block comment should start with '# '
F402 - import 'endpoint' from line 21 shadowed by
loop variable
Change-Id: I6bae61591fb988cc17fa79e21cb5f1508d22781c
|
| |
|
|
|
|
|
|
| |
- Ensure test method name is safe to use
- Add docs to explain what the functions are doing
- Skip no_test files (as well as utils files)
Change-Id: I5d0c9f354f1c5c7be36575a1e2288442a160129b
|
| |
|
|
|
|
|
|
|
| |
Remove line containing
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4
Change-Id: I7581cc88b8de433d5609ed06c6570b0b45c13573
Closes-Bug:#1229324
|
| |
|
|
|
|
|
|
| |
* Added missing period for doc strings
* Correct syntax errors
* Remove H402 from flake8 ignore list
Change-Id: Ia8592bf99378e3658d6cca2ceb148bf9eb0b5de8
|
| |
|
|
| |
Change-Id: Ic8d9e5b8918dd47190d7aa3b6cfbe281307fb1d2
|
| |
|
|
|
|
|
|
| |
- check process exit code instead of stderr emptiness;
- in case of failure include stderr and stdout of example into
exception message.
Change-Id: I3957810c8ac0621bafa4eda85e089071d96c794e
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust tests to skip the sqlalchemy test if
sqlalchemy is not installed. Adjust examples
to fallback to a directory based backend if
the sqlalchemy does not load or is not available.
Include a updated tox.ini (generated from the
toxgen.py script) that includes the new venv
variations.
Change-Id: I7686f09901a9b65d7c81b4e037b5bffc24aa7ef7
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Make the python 3.3 testing work by selectively
disabling & including eventlet, switch to testtools
and testrepository which has 2.6, 2.7, 3.2+ unified
testing support so that we can correctly run our
tests in all supported python versions.
Closes-Bug: #1251660
Co-authored-by: Alexander Gorodnev <agorodnev@griddynamics.com>
Change-Id: I23b6f04387cfd3bf6b5a044edffa446ca897ce3a
|
| |
|
|
| |
Change-Id: I024207864668751455874cf3cb60de31cc01de87
|
|
|
Add testcase that executes all examples from taskflow/examples
directory. For examples with somewhat deterministic output the output
is also checked.
This commit also fixes couple of examples broken by recent decorators
refactoring.
Change-Id: I3e65eabde43e1dd26b442d8f7dd3f062bf80703d
|