summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-20Raise the bar on coverage requirementsRodolfo Carvalho
2017-02-20Accept extra positional arguments in toxRodolfo Carvalho
Example: tox -e py35-ansible22-unit -- --collect-only
2017-02-20Replace nose with pytest (utils)Rodolfo Carvalho
2017-02-20Clean up utils/README.mdRodolfo Carvalho
Remove old way of running tests, plus mirror edits.
2017-02-20Replace nose with pytestRodolfo Carvalho
2017-02-20Extract assertion common to all tests as functionRodolfo Carvalho
2017-02-20Replace nose yield-style tests w/ pytest fixturesRodolfo Carvalho
2017-02-20Configure pytest to run tests and coverageRodolfo Carvalho
2017-02-20Make tests run with either nosetests or pytestRodolfo Carvalho
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).
2017-02-20Replace assert_equal with plain assertRodolfo Carvalho
In the intention to remove the dependency on nose and use only pytest.
2017-02-20Make usage of short_version/release consistentRodolfo Carvalho
This removes irrelevant differences between the two test files, making it easier to observe similarities.
2017-02-20Reorganize tests and helper functions logicallyRodolfo Carvalho
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.
2017-02-20Remove test duplicationRodolfo Carvalho
Consolidate tests for bad input into a single file instead of having the same code in two files.
2017-02-20Move similar test cases togetherRodolfo Carvalho
And reorganize them in such a way to show that there are a bunch of duplicated tests that are exactly the same.
2017-02-20Insert paths in the second position of sys.pathRodolfo Carvalho
http://stackoverflow.com/a/10097543/4804690 Additionally, avoid using platform-specific '/' and '..'.
2017-02-20Rename test for consistencyRodolfo Carvalho
2017-02-20Merge pull request #3407 from mtnbikenc/oc-mod-playbooksRussell Teague
Updating node playbooks to use oc_obj
2017-02-20Merge pull request #3340 from etsauer/scale-routerScott Dodson
Making router pods scale with infra nodes
2017-02-20Merge pull request #3425 from ingvagabund/fix-symlink-to-filters-in-spec-fileScott Dodson
Fix symlink to filter_plugins/oo_filters.py
2017-02-20Fix symlink to filter_plugins/oo_filters.pyJan Chaloupka
Bug 1423444
2017-02-19Merge pull request #3414 from rhcarvalho/fix-missing-unit-tests-ciRodolfo Carvalho
Fix missing unit tests in CI
2017-02-19Merge pull request #3418 from rhcarvalho/dead-codeRodolfo Carvalho
Remove dead code in installer
2017-02-19Temporarily lower the bar for minimum coverageRodolfo Carvalho
Running tests from `roles/lib_openshift` and `roles/lib_utils` uncovers the current lower coverage. Need to fix that and raise the bar again.
2017-02-19Unset exec bit in tests, add missing requirementsJason DeTiberus
was: separate lib_ unit tests from other unit tests
2017-02-19Include missing unit tests to test runner configRodolfo Carvalho
We were not running those tests in CI, bad :(
2017-02-19Fix tests on Python 3Rodolfo Carvalho
Unlike in Python 2: - `range` doesn't return a list. - `dict.keys` doesn't return a list.
2017-02-19Remove dead code in installerRodolfo Carvalho
Found using `vulture`, confirmed that code that was once used became unused in later commits after its introduction.
2017-02-19Merge pull request #3412 from rhcarvalho/dead-codeRodolfo Carvalho
Remove and document how to find dead Python code
2017-02-18Merge pull request #3411 from kwoodson/oc_route_remove_debugKenny Woodson
Fixing a bug by removing default debug output.
2017-02-18Remove dead codeRodolfo Carvalho
2017-02-18Document how to find dead Python codeRodolfo Carvalho
2017-02-17Merge pull request #3402 from cgwalters/fedora-python3Scott Dodson
facts/main: Require Python 3 for Fedora, Python 2 everywhere else
2017-02-17Fixing a bug by removing default debugKenny Woodson
2017-02-17Updating node playbooks to use oc_objRussell Teague
2017-02-17Merge pull request #3403 from kwoodson/lib_openshift_compatScott Dodson
Compatibility for python2,3.
2017-02-17Merge pull request #3404 from giuseppe/do-not-fail-on-grepScott Dodson
post_control_plane.yml: don't fail on grep
2017-02-17Merge pull request #3405 from sdodson/BZ1423430Scott Dodson
Fix indenting/ordering in router cert redeploy
2017-02-17String compatibility for python2,3Kenny Woodson
2017-02-17Fix indenting/ordering in router cert redeployScott Dodson
Fixes Bug 1423430
2017-02-17post_control_plane.yml: don't fail on grepGiuseppe Scrivano
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>
2017-02-17Merge pull request #3399 from mtnbikenc/deprecationRussell Teague
Resolve deprecation warning
2017-02-17Merge pull request #3369 from ashcrow/attach-cloudfrontScott Dodson
WIP: Register cloudfront privkey when required
2017-02-17Merge pull request #3401 from sdodson/bz1423425Scott Dodson
Fix typo and missing links to roles
2017-02-17facts/main: Require Python 3 for Fedora, Python 2 everywhere elseColin Walters
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.
2017-02-17Fix typo, add symlinks for rolesScott Dodson
Fixes Bug 1423425
2017-02-17Resolve deprecation warningRussell Teague
2017-02-17Merge pull request #3398 from dgoodwin/revert-upgrade-hackScott Dodson
Revert temporary hack to skip router/registry upgrade.
2017-02-17Revert temporary hack to skip router/registry upgrade.Devan Goodwin
2017-02-16Merge pull request #3395 from sdodson/ruamel-yaml-atomicScott Dodson
Don't attempt to install python-ruamel-yaml on atomic
2017-02-16Don't attempt to install python-ruamel-yaml on atomicScott Dodson