File tree 1 file changed +0
-14
lines changed 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):
128
128
for cert in cert_list :
129
129
assert cert .name
130
130
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
-
138
131
# Delete all certs and assert that they have all been deleted successfully.
139
132
for cert in cert_list :
140
133
android_app .delete_sha_certificate (cert )
141
134
142
135
assert android_app .get_sha_certificates () == []
143
136
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
-
151
137
152
138
def test_create_ios_app_already_exists (ios_app ):
153
139
del ios_app
You can’t perform that action at this time.
0 commit comments