Skip to content

Commit

Permalink
fix one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
wedamija committed Feb 28, 2025
1 parent 2e35f40 commit 2505b16
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/sentry/uptime/consumers/test_results_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,13 +772,11 @@ def test_onboarding_success_graduate(self):

self.project_subscription.refresh_from_db()
assert self.project_subscription.mode == ProjectUptimeSubscriptionMode.AUTO_DETECTED_ACTIVE
with pytest.raises(UptimeSubscription.DoesNotExist):
uptime_subscription.refresh_from_db()
new_uptime_subscription = self.project_subscription.uptime_subscription
assert new_uptime_subscription.interval_seconds == int(
uptime_subscription.refresh_from_db()
assert uptime_subscription.interval_seconds == int(
AUTO_DETECTED_ACTIVE_SUBSCRIPTION_INTERVAL.total_seconds()
)
assert uptime_subscription.url == new_uptime_subscription.url
assert uptime_subscription.url == uptime_subscription.url

def test_parallel(self) -> None:
"""
Expand Down

0 comments on commit 2505b16

Please sign in to comment.