-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Automate test runs #70
base: master
Are you sure you want to change the base?
Conversation
Test service that runs against iRacing's server. | ||
""" | ||
|
||
def setUp(self) -> None: |
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.
Do we need the client we instantiate above if we re-instantiate here? Should we be using the singleton we created as you mentioned in the comment so we don't auth multiple times when we run more suites?
|
||
|
||
class ClientTest(unittest.TestCase): | ||
class ClientTest(IRacingIntegrationTest): |
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.
Do we need to explicitly call the setUp method? Or is that handled implicitly by the tests? I just want to make sure self.client
isn't null throughout the tests.
@@ -3,8 +3,6 @@ name: Integration Test | |||
on: | |||
push: | |||
branches: master | |||
tags: |
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.
What was this originally for?
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 few questions, but looks good to me
DO NOT MERGE UNTIL YOU UNDERSTAND PERMISSIONS IMPLICATIONS