Coverage report: 94%

Files Functions Classes

coverage.py v7.5.0, created at 2024-10-15 13:03 +0000

File class statements missing excluded coverage
src/app.py (no class) 46 46 0 0%
src/couchers/__init__.py (no class) 0 0 0 100%
src/couchers/config.py (no class) 28 4 0 86%
src/couchers/constants.py (no class) 15 0 0 100%
src/couchers/crypto.py (no class) 47 0 0 100%
src/couchers/db.py (no class) 43 0 0 100%
src/couchers/descriptor_pool.py (no class) 7 0 0 100%
src/couchers/email/__init__.py (no class) 13 0 0 100%
src/couchers/email/dev.py (no class) 5 0 0 100%
src/couchers/email/smtp.py (no class) 11 0 0 100%
src/couchers/errors.py (no class) 164 0 0 100%
src/couchers/helpers/__init__.py (no class) 0 0 0 100%
src/couchers/helpers/badges.py (no class) 7 0 0 100%
src/couchers/helpers/clusters.py (no class) 7 0 0 100%
src/couchers/helpers/geoip.py (no class) 6 0 0 100%
src/couchers/interceptors.py AuthValidatorInterceptor 43 0 0 100%
src/couchers/interceptors.py CookieInterceptor 14 2 0 86%
src/couchers/interceptors.py ManualAuthValidatorInterceptor 6 1 0 83%
src/couchers/interceptors.py OTelInterceptor 18 17 0 6%
src/couchers/interceptors.py SessionInterceptor 6 0 0 100%
src/couchers/interceptors.py TracingInterceptor 60 3 0 95%
src/couchers/interceptors.py ErrorSanitizationInterceptor 15 0 0 100%
src/couchers/interceptors.py (no class) 44 0 0 100%
src/couchers/jobs/__init__.py (no class) 0 0 0 100%
src/couchers/jobs/enqueue.py (no class) 4 0 0 100%
src/couchers/jobs/handlers.py (no class) 83 0 0 100%
src/couchers/jobs/worker.py (no class) 34 0 0 100%
src/couchers/materialized_views.py (no class) 17 0 0 100%
src/couchers/metrics.py (no class) 47 0 0 100%
src/couchers/models.py HostingStatus 0 0 0 100%
src/couchers/models.py MeetupStatus 0 0 0 100%
src/couchers/models.py SmokingLocation 0 0 0 100%
src/couchers/models.py SleepingArrangement 0 0 0 100%
src/couchers/models.py ParkingDetails 0 0 0 100%
src/couchers/models.py TimezoneArea 0 0 0 100%
src/couchers/models.py User 14 0 0 100%
src/couchers/models.py UserBadge 0 0 0 100%
src/couchers/models.py StrongVerificationAttemptStatus 0 0 0 100%
src/couchers/models.py PassportSex 0 0 0 100%
src/couchers/models.py StrongVerificationAttempt 6 0 0 100%
src/couchers/models.py ModNote 2 1 0 50%
src/couchers/models.py StrongVerificationCallbackEvent 0 0 0 100%
src/couchers/models.py DonationType 0 0 0 100%
src/couchers/models.py DonationInitiation 0 0 0 100%
src/couchers/models.py Invoice 0 0 0 100%
src/couchers/models.py LanguageFluency 0 0 0 100%
src/couchers/models.py LanguageAbility 0 0 0 100%
src/couchers/models.py RegionVisited 0 0 0 100%
src/couchers/models.py RegionLived 0 0 0 100%
src/couchers/models.py FriendStatus 0 0 0 100%
src/couchers/models.py FriendRelationship 0 0 0 100%
src/couchers/models.py ContributeOption 0 0 0 100%
src/couchers/models.py ContributorForm 2 0 0 100%
src/couchers/models.py SignupFlow 3 0 0 100%
src/couchers/models.py LoginToken 2 1 0 50%
src/couchers/models.py PasswordResetToken 2 1 0 50%
src/couchers/models.py AccountDeletionToken 2 1 0 50%
src/couchers/models.py UserActivity 0 0 0 100%
src/couchers/models.py UserSession 1 0 0 100%
src/couchers/models.py Conversation 1 1 0 0%
src/couchers/models.py GroupChat 1 1 0 0%
src/couchers/models.py GroupChatRole 0 0 0 100%
src/couchers/models.py GroupChatSubscription 7 1 0 86%
src/couchers/models.py MessageType 0 0 0 100%
src/couchers/models.py HostRequestStatus 0 0 0 100%
src/couchers/models.py Message 2 1 0 50%
src/couchers/models.py ContentReport 0 0 0 100%
src/couchers/models.py Email 0 0 0 100%
src/couchers/models.py SMS 0 0 0 100%
src/couchers/models.py HostRequest 3 1 0 67%
src/couchers/models.py ReferenceType 0 0 0 100%
src/couchers/models.py Reference 1 0 0 100%
src/couchers/models.py InitiatedUpload 1 0 0 100%
src/couchers/models.py Upload 3 0 0 100%
src/couchers/models.py Node 0 0 0 100%
src/couchers/models.py Cluster 1 0 0 100%
src/couchers/models.py NodeClusterAssociation 0 0 0 100%
src/couchers/models.py ClusterRole 0 0 0 100%
src/couchers/models.py ClusterSubscription 0 0 0 100%
src/couchers/models.py ClusterPageAssociation 0 0 0 100%
src/couchers/models.py PageType 0 0 0 100%
src/couchers/models.py Page 1 1 0 0%
src/couchers/models.py PageVersion 4 1 0 75%
src/couchers/models.py ClusterEventAssociation 0 0 0 100%
src/couchers/models.py Event 0 0 0 100%
src/couchers/models.py EventOccurrence 7 1 0 86%
src/couchers/models.py EventSubscription 0 0 0 100%
src/couchers/models.py EventOrganizer 0 0 0 100%
src/couchers/models.py AttendeeStatus 0 0 0 100%
src/couchers/models.py EventOccurrenceAttendee 0 0 0 100%
src/couchers/models.py EventCommunityInviteRequest 0 0 0 100%
src/couchers/models.py ClusterDiscussionAssociation 0 0 0 100%
src/couchers/models.py Discussion 0 0 0 100%
src/couchers/models.py DiscussionSubscription 0 0 0 100%
src/couchers/models.py Thread 0 0 0 100%
src/couchers/models.py Comment 0 0 0 100%
src/couchers/models.py Reply 0 0 0 100%
src/couchers/models.py BackgroundJobState 0 0 0 100%
src/couchers/models.py BackgroundJob 2 0 0 100%
src/couchers/models.py NotificationDeliveryType 0 0 0 100%
src/couchers/models.py NotificationTopicAction 7 1 0 86%
src/couchers/models.py NotificationPreference 0 0 0 100%
src/couchers/models.py Notification 2 0 0 100%
src/couchers/models.py NotificationDelivery 0 0 0 100%
src/couchers/models.py PushNotificationSubscription 0 0 0 100%
src/couchers/models.py PushNotificationDeliveryAttempt 0 0 0 100%
src/couchers/models.py Language 0 0 0 100%
src/couchers/models.py Region 0 0 0 100%
src/couchers/models.py UserBlock 0 0 0 100%
src/couchers/models.py APICall 0 0 0 100%
src/couchers/models.py AccountDeletionReason 0 0 0 100%
src/couchers/models.py (no class) 993 0 0 100%
src/couchers/notifications/__init__.py (no class) 0 0 0 100%
src/couchers/notifications/background.py (no class) 29 0 0 100%
src/couchers/notifications/notify.py (no class) 8 0 0 100%
src/couchers/notifications/push.py (no class) 15 0 0 100%
src/couchers/notifications/push_api.py (no class) 16 0 0 100%
src/couchers/notifications/render.py RenderedNotification 0 0 0 100%
src/couchers/notifications/render.py (no class) 21 0 0 100%
src/couchers/notifications/settings.py PreferenceNotUserEditableError 0 0 0 100%
src/couchers/notifications/settings.py (no class) 17 0 0 100%
src/couchers/notifications/unsubscribe.py (no class) 17 0 0 100%
src/couchers/notifications/utils.py (no class) 2 0 0 100%
src/couchers/phone/check.py (no class) 3 0 0 100%
src/couchers/phone/sms.py (no class) 12 0 0 100%
src/couchers/profiler.py CouchersProfiler 32 23 0 28%
src/couchers/profiler.py (no class) 17 0 0 100%
src/couchers/resources.py (no class) 29 0 0 100%
src/couchers/server.py (no class) 31 0 0 100%
src/couchers/servicers/__init__.py (no class) 0 0 0 100%
src/couchers/servicers/account.py Account 149 5 0 97%
src/couchers/servicers/account.py Iris 19 2 0 89%
src/couchers/servicers/account.py (no class) 52 0 0 100%
src/couchers/servicers/admin.py Admin 181 51 0 72%
src/couchers/servicers/admin.py (no class) 48 0 0 100%
src/couchers/servicers/api.py API 257 10 0 96%
src/couchers/servicers/api.py (no class) 45 0 0 100%
src/couchers/servicers/auth.py Auth 184 12 0 93%
src/couchers/servicers/auth.py (no class) 35 0 0 100%
src/couchers/servicers/blocking.py Blocking 22 2 0 91%
src/couchers/servicers/blocking.py (no class) 12 0 0 100%
src/couchers/servicers/bugs.py Bugs 22 0 0 100%
src/couchers/servicers/bugs.py (no class) 16 0 0 100%
src/couchers/servicers/communities.py Communities 119 28 0 76%
src/couchers/servicers/communities.py (no class) 36 0 0 100%
src/couchers/servicers/conversations.py Conversations 173 22 0 87%
src/couchers/servicers/conversations.py (no class) 46 0 0 100%
src/couchers/servicers/discussions.py Discussions 20 3 0 85%
src/couchers/servicers/discussions.py (no class) 12 0 0 100%
src/couchers/servicers/donations.py Donations 15 2 0 87%
src/couchers/servicers/donations.py Stripe 17 0 0 100%
src/couchers/servicers/donations.py (no class) 16 0 0 100%
src/couchers/servicers/events.py Events 347 46 0 87%
src/couchers/servicers/events.py (no class) 55 0 0 100%
src/couchers/servicers/gis.py GIS 9 9 0 0%
src/couchers/servicers/gis.py (no class) 16 0 0 100%
src/couchers/servicers/groups.py Groups 72 22 0 69%
src/couchers/servicers/groups.py (no class) 29 0 0 100%
src/couchers/servicers/jail.py Jail 31 1 0 97%
src/couchers/servicers/jail.py (no class) 17 0 0 100%
src/couchers/servicers/media.py Media 7 1 0 86%
src/couchers/servicers/media.py (no class) 13 0 0 100%
src/couchers/servicers/notifications.py Notifications 40 5 0 88%
src/couchers/servicers/notifications.py (no class) 25 0 0 100%
src/couchers/servicers/pages.py Pages 107 8 0 93%
src/couchers/servicers/pages.py (no class) 22 0 0 100%
src/couchers/servicers/references.py References 82 2 0 98%
src/couchers/servicers/references.py (no class) 23 0 0 100%
src/couchers/servicers/reporting.py Reporting 8 0 0 100%
src/couchers/servicers/reporting.py (no class) 9 0 0 100%
src/couchers/servicers/requests.py Requests 225 19 0 92%
src/couchers/servicers/requests.py (no class) 33 0 0 100%
src/couchers/servicers/resources.py Resources 5 1 0 80%
src/couchers/servicers/resources.py (no class) 10 0 0 100%
src/couchers/servicers/search.py Search 126 36 0 71%
src/couchers/servicers/search.py (no class) 32 0 0 100%
src/couchers/servicers/threads.py Threads 30 1 0 97%
src/couchers/servicers/threads.py (no class) 17 0 0 100%
src/couchers/sql.py CouchersSelect 22 1 0 95%
src/couchers/sql.py (no class) 14 0 0 100%
src/couchers/tasks.py (no class) 21 0 0 100%
src/couchers/templates/__init__.py (no class) 0 0 0 100%
src/couchers/templates/v2.py (no class) 28 0 0 100%
src/couchers/tracing.py (no class) 11 0 0 100%
src/couchers/urls.py (no class) 30 0 0 100%
src/couchers/utils.py (no class) 52 0 0 100%
src/tests/test_account.py (no class) 43 0 0 100%
src/tests/test_admin.py (no class) 33 0 0 100%
src/tests/test_api.py (no class) 37 0 0 100%
src/tests/test_app.py (no class) 6 0 0 100%
src/tests/test_auth.py (no class) 42 0 0 100%
src/tests/test_bg_jobs.py test_service_jobs.HitSleep 0 0 0 100%
src/tests/test_bg_jobs.py test_scheduler.EndOfTime 0 0 0 100%
src/tests/test_bg_jobs.py (no class) 45 0 0 100%
src/tests/test_blocking.py (no class) 15 0 0 100%
src/tests/test_bugs.py test_bugs.dud_post._PostReturn 1 0 0 100%
src/tests/test_bugs.py test_bugs_with_user.dud_post._PostReturn 1 0 0 100%
src/tests/test_bugs.py test_bugs_fails_on_network_error.dud_post._PostReturn 0 0 0 100%
src/tests/test_bugs.py (no class) 17 0 0 100%
src/tests/test_communities.py TestCommunities 307 0 0 100%
src/tests/test_communities.py (no class) 59 0 0 100%
src/tests/test_conversations.py (no class) 44 0 0 100%
src/tests/test_crypto.py (no class) 9 0 0 100%
src/tests/test_db.py (no class) 23 0 0 100%
src/tests/test_discussions.py (no class) 12 0 0 100%
src/tests/test_donations.py (no class) 21 0 0 100%
src/tests/test_dummy_data.py (no class) 5 0 0 100%
src/tests/test_email.py (no class) 29 0 0 100%
src/tests/test_events.py (no class) 41 0 0 100%
src/tests/test_fixtures.py generate_user._DummyContext 1 0 0 100%
src/tests/test_fixtures.py CookieMetadataPlugin 2 0 0 100%
src/tests/test_fixtures.py auth_api_session._MetadataKeeperInterceptor 5 0 0 100%
src/tests/test_fixtures.py FakeRpcError 4 0 0 100%
src/tests/test_fixtures.py FakeChannel 17 0 0 100%
src/tests/test_fixtures.py EmailData 0 0 0 100%
src/tests/test_fixtures.py push_collector.Push 7 4 0 43%
src/tests/test_fixtures.py push_collector.PushCollector 10 0 0 100%
src/tests/test_fixtures.py (no class) 142 0 0 100%
src/tests/test_gis.py (no class) 1 0 0 100%
src/tests/test_groups.py TestGroups 186 0 0 100%
src/tests/test_groups.py (no class) 27 0 0 100%
src/tests/test_interceptors.py test_logging_interceptor_raise_custom._TestingException 0 0 0 100%
src/tests/test_interceptors.py (no class) 36 0 0 100%
src/tests/test_jail.py (no class) 19 0 0 100%
src/tests/test_media.py (no class) 12 0 0 100%
src/tests/test_model_constraints.py (no class) 11 0 0 100%
src/tests/test_models.py (no class) 12 0 0 100%
src/tests/test_notifications.py (no class) 28 0 0 100%
src/tests/test_pages.py (no class) 27 0 0 100%
src/tests/test_references.py (no class) 28 0 0 100%
src/tests/test_reporting.py (no class) 11 0 0 100%
src/tests/test_requests.py (no class) 27 0 0 100%
src/tests/test_resources.py (no class) 9 0 0 100%
src/tests/test_search.py (no class) 32 0 0 100%
src/tests/test_strong_verification.py (no class) 33 0 0 100%
src/tests/test_threads.py (no class) 15 0 0 100%
src/tests/test_utils.py (no class) 11 0 0 100%
src/tests/test_verification.py (no class) 24 0 0 100%
src/tests/test_visible_users.py _FakeContext 1 0 0 100%
src/tests/test_visible_users.py (no class) 9 0 0 100%
Total   6710 402 0 94%

No items found using the specified filter.