@@ -156,7 +156,6 @@ def test(self):
156
156
assignee = group .get_assignee ()
157
157
assert assignee and (assignee .id == self .user .id )
158
158
self .project_subscription .refresh_from_db ()
159
- assert self .project_subscription .uptime_status == UptimeStatus .FAILED
160
159
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .FAILED
161
160
162
161
def test_does_nothing_when_missing_project_subscription (self ):
@@ -221,7 +220,6 @@ def test_restricted_host_provider_id(self):
221
220
222
221
# subscription status is still updated
223
222
self .project_subscription .refresh_from_db ()
224
- assert self .project_subscription .uptime_status == UptimeStatus .FAILED
225
223
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .FAILED
226
224
227
225
def test_reset_fail_count (self ):
@@ -318,7 +316,6 @@ def test_reset_fail_count(self):
318
316
with pytest .raises (Group .DoesNotExist ):
319
317
Group .objects .get (grouphash__hash = hashed_fingerprint )
320
318
self .project_subscription .refresh_from_db ()
321
- assert self .project_subscription .uptime_status == UptimeStatus .OK
322
319
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .OK
323
320
324
321
def test_no_create_issues_feature (self ):
@@ -351,7 +348,6 @@ def test_no_create_issues_feature(self):
351
348
with pytest .raises (Group .DoesNotExist ):
352
349
Group .objects .get (grouphash__hash = hashed_fingerprint )
353
350
self .project_subscription .refresh_from_db ()
354
- assert self .project_subscription .uptime_status == UptimeStatus .FAILED
355
351
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .FAILED
356
352
357
353
def test_resolve (self ):
@@ -412,7 +408,6 @@ def test_resolve(self):
412
408
assert group .issue_type == UptimeDomainCheckFailure
413
409
assert group .status == GroupStatus .UNRESOLVED
414
410
self .project_subscription .refresh_from_db ()
415
- assert self .project_subscription .uptime_status == UptimeStatus .FAILED
416
411
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .FAILED
417
412
418
413
result = self .create_uptime_result (
@@ -443,7 +438,6 @@ def test_resolve(self):
443
438
group .refresh_from_db ()
444
439
assert group .status == GroupStatus .RESOLVED
445
440
self .project_subscription .refresh_from_db ()
446
- assert self .project_subscription .uptime_status == UptimeStatus .OK
447
441
assert self .project_subscription .uptime_subscription .uptime_status == UptimeStatus .OK
448
442
449
443
def test_no_subscription (self ):
0 commit comments