-
Notifications
You must be signed in to change notification settings - Fork 42
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
chore(deadline): added tests for configure_identity_registration_settings.py #593
chore(deadline): added tests for configure_identity_registration_settings.py #593
Conversation
26f0ac3
to
80a4bd3
Compare
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 looks great overall. I just have a few minor suggestions - mostly around improving readability of the tests.
packages/aws-rfdk/lib/deadline/scripts/python/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
packages/aws-rfdk/lib/deadline/scripts/python/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
packages/aws-rfdk/lib/deadline/scripts/python/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
packages/aws-rfdk/lib/deadline/scripts/python/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
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! Good job.
80a4bd3
to
e327d92
Compare
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.
Looking good. I have a few readability suggestions, which I've provided code for, but there's still some missing coverage around negative tests that we may want to add.
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Show resolved
Hide resolved
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
0315fa5
to
3ae3924
Compare
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.
Just one minor method name conflict. But otherwise this is great
...s/aws-rfdk/lib/deadline/scripts/python/test/test_configure_identity_registration_settings.py
Outdated
Show resolved
Hide resolved
3ae3924
to
b7d14b0
Compare
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.
Great work here! This looks good to me
package.json
calledtestpy
to run the bash script. The tests are really lightweight, so I expanded thetest
target to run them along with the other CDK unit tests.configure_identity_registration_settings.py
. I think coverage is pretty good but likely not 100%These tests will run after the CDK unit tests are complete. The current output from their run looks like this:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license