-
Notifications
You must be signed in to change notification settings - Fork 7
Add testing directory based on infrahub_testcontainers #183
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
Conversation
296b5b8 to
e4d190f
Compare
Codecov ReportAttention: Patch coverage is @@ Coverage Diff @@
## develop #183 +/- ##
===========================================
- Coverage 66.48% 65.47% -1.02%
===========================================
Files 78 81 +3
Lines 7123 7249 +126
Branches 1393 1407 +14
===========================================
+ Hits 4736 4746 +10
- Misses 2000 2116 +116
Partials 387 387
Flags with carried forward coverage won't be shown. Click here to find out more.
|
ajtmccarty
left a comment
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.
are these supposed to run as part of the CI eventually?
|
|
||
| # @property | ||
| # def seen_routing_keys(self) -> list[str]: | ||
| # return list(self.messages_per_routing_key.keys()) |
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.
are you hoping to uncomment this file in a later PR or should it be deleted?
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.
we need to finish the conversion of all the integration tests, probably best to keep it for now
This PR moves some tests utilities previously part of
infrahub.testinginto the SDK underinfrahub_sdk.testing.infrahub_sdk.testingis designed to work with the packageinfrahub_testcontainersthat makes it possible to run integration tests for all projects using the Python SDKAs part of this PR, I fixed 2 integration tests as part of
tests/integration/test_node.py, there is still a lot of work to fix all of them.