| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
|\
| |
| | |
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.
|
|\ \ \ \
| |/ / /
|/| | | |
Remove dead code in installer
|
|/ / /
| | |
| | |
| | |
| | | |
Found using `vulture`, confirmed that code that was once used became
unused in later commits after its introduction.
|
|\ \ \
| | | |
| | | | |
Remove and document how to find dead Python code
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fixing a bug by removing default debug output.
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
facts/main: Require Python 3 for Fedora, Python 2 everywhere else
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For a few reasons; among them that we currently have a dependency on `PyYAML`
which on Fedora Atomic Host isn't installed for Python 2 by default. Further,
many dependencies are being ported in Fedora to be Python 3.
Conversely, ensure that we're using Python 2 everywhere else (which is really
CentOS/RHEL), since AFAIK we don't test that path at all, and we really don't
need *more* entries in the supported matrix.
|
|\ \ \
| | | |
| | | | |
Compatibility for python2,3.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
post_control_plane.yml: don't fail on grep
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
grep returns rc != 0 if the text is not found, the next rule assumes
that. Do not fail on the check when the line is not found.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|\ \ \ \
| | | | |
| | | | | |
Fix indenting/ordering in router cert redeploy
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes Bug 1423430
|
|\ \ \ \
| |/ / /
|/| | | |
Resolve deprecation warning
|