diff --git a/azext_iot/tests/digitaltwins/test_dt_resource_lifecycle_int.py b/azext_iot/tests/digitaltwins/test_dt_resource_lifecycle_int.py index 7ac99b584..6f50589dd 100644 --- a/azext_iot/tests/digitaltwins/test_dt_resource_lifecycle_int.py +++ b/azext_iot/tests/digitaltwins/test_dt_resource_lifecycle_int.py @@ -96,7 +96,6 @@ def test_dt_resource(self): MOCK_RESOURCE_TAGS, ) ).get_output_in_json() - self.track_instance(create_output) assert_common_resource_attributes( create_output, @@ -130,12 +129,11 @@ def test_dt_resource(self): ) # No location specified. Use the resource group location. - create_msi_output = self.cmd( + self.cmd( "dt create -n {} -g {} --assign-identity --scopes {}".format( instance_names[1], self.rg, " ".join(scope_ids) ) ).get_output_in_json() - self.track_instance(create_msi_output) # wait for identity assignment sleep(60)