-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
IoT module knack conversion #5084
Conversation
View a preview at https://prompt.ws/r/Azure/azure-cli/5084 |
jmespath.Options(collections.OrderedDict)) | ||
if not re.match(self._expected_result, str(actual_result), re.IGNORECASE): | ||
raise JMESPathCheckAssertionError(self._query, 'aaa', actual_result, | ||
execution_result.output) |
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.
@troydai I added this back in. Looks like it was missed from the prev. vcr_test_base
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.
Add CI Re-record tests Use actual value in checkers
b5a0c9f
to
dcedbcb
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.
Looks good.
|
||
|
||
@Completer | ||
def get_device_id_completion_list(cmd, prefix, namespace): # pylint: disable=unused-argument |
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.
I know this device completer was here before...but I'd like to note that it isn't that valuable. The device list endpoint returns up to 1000 devices, and you could have a million+ devices on an IoT Hub.
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.
Device CRUD commands would be deprecated in favor of IoT extension equivalents anyway.
@digimaun Please review. You can use the prompt.ws service below to do some ad-hoc testing of the commands (It takes 2/3 minutes to load so refresh the page afterwards).