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

Automate test runs #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mikeholler
Copy link
Collaborator

DO NOT MERGE UNTIL YOU UNDERSTAND PERMISSIONS IMPLICATIONS

Test service that runs against iRacing's server.
"""

def setUp(self) -> None:
Copy link
Collaborator

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):
Copy link
Collaborator

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:
Copy link
Collaborator

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?

Copy link
Collaborator

@XanderRiga XanderRiga left a 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

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