-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/tests improvements #25
Conversation
…endencies versions
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.
LGTM but I've some some comments/suggestions.
requirements.txt
Outdated
@@ -1,4 +1,4 @@ | |||
apimatic-core~=0.2.0 | |||
apimatic-core>=0.2.8 |
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.
This file is not supposed to be modified because, on each SDK regeneration, it'll be overridden by APIMatic.
@@ -1,6 +0,0 @@ | |||
auth=$(echo "$BASIC_AUTH_USERNAME":"$BASIC_AUTH_PASSWORD" | base64) | |||
|
|||
curl --request POST \ |
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.
Because this script won't be needed anymore, please delete it also from the .codegenignore
file.
|
||
yield client | ||
|
||
client.sites.clear_site() |
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.
Won't it be invoked twice when requesting client
in two consecutive tests?
from advancedbilling.models.subscription import Subscription | ||
|
||
|
||
class InvoiceAssertCases: |
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.
All these classes live in the data
module and in general, provide only the pure dictionaries so, I'd think about different names instead of assert
because there are no asserts there.
@@ -0,0 +1,16 @@ | |||
__all__ = [ |
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.
Is this needed for subsequent cases to be properly loaded?
bfec828
to
c8b6eef
Compare
No description provided.