Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests #402

Merged
merged 17 commits into from
Apr 24, 2019
Merged

Tests #402

merged 17 commits into from
Apr 24, 2019

Conversation

jmcgill298
Copy link
Contributor

Update tests to use Tox and general updates to the testing methods

ogenstad and others added 17 commits January 30, 2019 22:46
Use pytest for test framework and fix for "show ip ospf neighbor"
The function is only used once, so moving it to where it is called in
order for easier comprehension.
This test is the sum of the previous tests.
If the other tests pass, then this test should also pass.
The function is currently defined twice, this moves it to __init__ where
both test files that use it can import the function.
* Change ``KNOWN_MISSING_TESTS`` from a list to a set
* Only perform glob when current entry is not in ``KNOWN_MISSING_TESTS``
* Move ``assert`` to actual test case and still provide custom message
TEST MESSAGES: Add failure messages to tests
@jmcgill298 jmcgill298 merged commit 80b5171 into master Apr 24, 2019
@jmcgill298 jmcgill298 deleted the tests branch April 24, 2019 17:28
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
* Test with pytest from tox instead of using Ansible

* Update tests to run with python3.6

* Update netiron show monitor commands to use a single template

* Remove redundant test, ``test_that_all_entries_dicts_match``

* Change to using yaml's safe_load method

* Group tests together in order to load files and call TextFSM once, which creates faster test runs

* Fix spacing and styling

* Add failure messages to tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants