| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
rename registered mktemp command
|
| | |
|
|\ \
| | |
| | | |
Bz 1420256 ops reusing non ops prefix
|
| | |
| | |
| | |
| | | |
nabled
|
|\ \ \
| | | |
| | | | |
Remove pytest-related dependencies from setup.py
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `setup_requires` line prevents builds in internal environments
without Internet access / pythonX-pytest-runner RPM installed.
In fact, we're running tests with `pytest`, outside of `setup.py`, so we
don't need those dependencies there.
Note: we decided not to run tests through `python setup.py pytest`
because pytest-runner was limited in how we can pass arguments to pytest
/ enable plugins. E.g., I could not get the coverage plugin working when
running `python setup.py pytest`.
|
|\ \ \ \
| | | | |
| | | | | |
openshift_facts: handle 'latest' version
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
do not attempt to compare the version using LooseVersion when 'latest'
is used. The case openshift_version == None already sets to use the
last version, so simply reuse that.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Adding missing handler to resolve error that it was not found
|
| | | | |
| | | | |
| | | | |
| | | | | |
verify, will be uniformly updated in future
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Surrounding node selector values with quotes
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
[openshift_logging] Correct logic test for running pods
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Replace has_key in new modules
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The dict.has_key has been removed in Python 3. However, both Python 2
and 3 support:
if needle in dict
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Migrate from nose to pytest
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Example:
tox -e py35-ansible22-unit -- --collect-only
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove old way of running tests, plus mirror edits.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
And remove explicit dependencies on nose, replacing with pytest.
The former is the way forward, for it is a better maintained test
library, and a transitive dependency of `molecule`, the test framework
we're using to add integration tests to this repo (work in progress).
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In the intention to remove the dependency on nose and use only pytest.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This removes irrelevant differences between the two test files, making
it easier to observe similarities.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is intented to make it easier to read tests top-down.
The test methods in both files are sorted somehow logically, and in the
same order in both files, to help visualizing the similarities between
them with diff tools.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Consolidate tests for bad input into a single file instead of having
the same code in two files.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
And reorganize them in such a way to show that there are a bunch of
duplicated tests that are exactly the same.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
http://stackoverflow.com/a/10097543/4804690
Additionally, avoid using platform-specific '/' and '..'.
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix validation of generated code
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Importing modules with the same name will not reload an already imported
module. Explicitly reloading the module is the quickest fix.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Updating node playbooks to use oc_obj
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Making router pods scale with infra nodes
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Fix symlink to filter_plugins/oo_filters.py
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Bug 1423444
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix missing unit tests in CI
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Running tests from `roles/lib_openshift` and `roles/lib_utils` uncovers
the current lower coverage. Need to fix that and raise the bar again.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
was: separate lib_ unit tests from other unit tests
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We were not running those tests in CI, bad :(
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Unlike in Python 2:
- `range` doesn't return a list.
- `dict.keys` doesn't return a list.
|