File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -128,26 +128,12 @@ def test_android_sha_certificates(android_app):
128128 for cert in cert_list :
129129 assert cert .name
130130
131- # Adding the same cert twice should cause an already-exists error.
132- with pytest .raises (exceptions .AlreadyExistsError ) as excinfo :
133- android_app .add_sha_certificate (project_management .SHACertificate (SHA_256_HASH_2 ))
134- assert 'Requested entity already exists' in str (excinfo .value )
135- assert excinfo .value .cause is not None
136- assert excinfo .value .http_response is not None
137-
138131 # Delete all certs and assert that they have all been deleted successfully.
139132 for cert in cert_list :
140133 android_app .delete_sha_certificate (cert )
141134
142135 assert android_app .get_sha_certificates () == []
143136
144- # Deleting a nonexistent cert should cause a not-found error.
145- with pytest .raises (exceptions .NotFoundError ) as excinfo :
146- android_app .delete_sha_certificate (cert_list [0 ])
147- assert 'Requested entity was not found' in str (excinfo .value )
148- assert excinfo .value .cause is not None
149- assert excinfo .value .http_response is not None
150-
151137
152138def test_create_ios_app_already_exists (ios_app ):
153139 del ios_app
You can’t perform that action at this time.
0 commit comments