Closed spalmurray-codecov closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
:white_check_mark: All tests successful. No failed tests found.
:loudspeaker: Thoughts on this report? Let us know!
Tests completed | Failed | Passed | Skipped |
---|---|---|---|
2306 | 1 | 2305 | 6 |
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
Completed 2312 tests with 1 failed
, 2305 passed and 6 skipped.
self = <billing.tests.test_views.StripeWebhookHandlerTests testMethod=test_customer_subscription_deleted_deactivates_all_repos_multiple_owner>
def test_customer_subscription_deleted_deactivates_all_repos_multiple_owner(self):
self.add_second_owner()
RepositoryFactory(author=self.owner, activated=True, active=True)
RepositoryFactory(author=self.owner, activated=True, active=True)
RepositoryFactory(author=self.owner, activated=True, active=True)
RepositoryFactory(author=self.other_owner, activated=True, active=True)
RepositoryFactory(author=self.other_owner, activated=True, active=True)
RepositoryFactory(author=self.other_owner, activated=True, active=True)
> assert (
self.owner.repository_set.filter(activated=True, active=True).count() == 3
)
E assert 2 == 3
E + where 2 = <bound method QuerySet.count of <RepositoryQuerySet [<Repository: Repo<Owner<github/tonyapope>/until>>, <Repository: Repo<Owner<github/tonyapope>/now>>]>>()
E + where <bound method QuerySet.count of <RepositoryQuerySet [<Repository: Repo<Owner<github/tonyapope>/until>>, <Repository: Repo<Owner<github/tonyapope>/now>>]>> = <RepositoryQuerySet [<Repository: Repo<Owner<github/tonyapope>/until>>, <Repository: Repo<Owner<github/tonyapope>/now>>]>.count
E + where <RepositoryQuerySet [<Repository: Repo<Owner<github/tonyapope>/until>>, <Repository: Repo<Owner<github/tonyapope>/now>>]> = <bound method QuerySet.filter of <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7fb1619803b0>>(activated=True, active=True)
E + where <bound method QuerySet.filter of <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7fb1619803b0>> = <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7fb1619803b0>.filter
E + where <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7fb1619803b0> = <Owner: Owner<github/tonyapope>>.repository_set
E + where <Owner: Owner<github/tonyapope>> = <billing.tests.test_views.StripeWebhookHandlerTests testMethod=test_customer_subscription_deleted_deactivates_all_repos_multiple_owner>.owner
billing/tests/test_views.py:273: AssertionError
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.24%. Comparing base (
a21d1c0
) to head (78a2f21
). Report is 1 commits behind head on main.
:white_check_mark: All tests successful. No failed tests found.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Updates last instance of unsafely accessing a schedule/subscription's metadata. This was causing errors when the expected metadata doesn't exist.
Resolves https://codecov.sentry.io/issues/5332174795