Skip to content

Automate test runs#70

Open
mikeholler wants to merge 2 commits intoEsterni:masterfrom
mikeholler:automate-test-runs
Open

Automate test runs#70
mikeholler wants to merge 2 commits intoEsterni:masterfrom
mikeholler:automate-test-runs

Conversation

@mikeholler
Copy link
Copy Markdown
Collaborator

DO NOT MERGE UNTIL YOU UNDERSTAND PERMISSIONS IMPLICATIONS

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

def setUp(self) -> None:
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread .github/workflows/integration_test.yml Outdated
on:
push:
branches: master
tags:
Copy link
Copy Markdown
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
Copy Markdown
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