Skip to content

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.

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