-
Notifications
You must be signed in to change notification settings - Fork 23
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
Adding testing for LinodeBaseModule #422
Adding testing for LinodeBaseModule #422
Conversation
…ible_linode into linode_common_tests
|
||
from ansible_collections.linode.cloud.tests.unit.base import TestModuleBase | ||
|
||
class TestLinodeModuleBase(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor optional suggestion, if the test case is not depends on any class/object attributes (self.some_attr
), we can even remove the classes and only keep the functions, lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass on my end, nice work!
📝 Description
Adds unit testing for LinodeBaseModule and migrates all existing unittest to pytest.
✔️ How to Test
make unittest