forked from redhat-performance/quads
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Added pytest for Mock Network Driver #50
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Isaac branch
awesome
deleting test.txt
adding test-quads-local.sh from course repo
Extend for hil api
committing testing.txt for git workflow demo
added testing.txt for git workflow
Instantiate concrete subclasses
added .DS_Store to gitignore
Created a pytest for mock interface driver and running into issues with init, so pushing to get remote to get more eyes on it.
This is the PyTest that can be used to test the MockInventory Driver for Demo4. Pushing up for better testing from others.
PyTest for MockInventoryDriver for Demo4
Mock inventory update
Dan and I further discussed Pytesting and fixture use, and I edited my pytest to look more like his. In addition there was an issue with the yaml config file, it didn't update when I merged class to my repository for some reason, so I fixed that to make it consistent with the code base
Conflicts: lib/libquads.py
…InventoryDriver.py to reflect upstream changes to lib/libquads.py in update_clouds.py modified update_clouds function in QuadsNativeInventoryDriver to match upstream/master lib/libquads.py updated MockInventoryDriver.py to reflect upstream changes to lib/libquads.py update_cloud
updated update_cloud method in QuadsNativeInventoryDriver.py and Mock…
I merged this commit manually for Kyle, since he is traveling. His authorship is maintained in the merged commit, e874800. Closing this PR. We can still refer back to closed PRs to see what was done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I wrote a pytest based on Sarthak's Mock Network driver, and redesigned it to be consistent with Dan's pytest format in order to develop a standard for our code base.