| src / app.py |
|
0% |
37 |
37 |
23 |
|
0% |
4 |
0 |
|
0% |
| src / couchers / config.py |
|
52% |
56 |
27 |
0 |
|
33% |
48 |
4 |
|
43% |
| src / couchers / context.py |
|
84% |
92 |
15 |
0 |
|
62% |
16 |
6 |
|
81% |
| src / couchers / crypto.py |
|
96% |
101 |
4 |
0 |
|
50% |
4 |
2 |
|
94% |
| src / couchers / db.py |
|
79% |
117 |
25 |
0 |
|
50% |
8 |
4 |
|
77% |
| src / couchers / email / smtp.py |
|
90% |
49 |
5 |
0 |
|
64% |
14 |
5 |
|
84% |
| src / couchers / experimentation.py |
|
31% |
65 |
45 |
2 |
|
9% |
22 |
2 |
|
25% |
| src / couchers / helpers / clusters.py |
|
96% |
25 |
1 |
0 |
|
50% |
2 |
1 |
|
93% |
| src / couchers / helpers / geoip.py |
|
24% |
41 |
31 |
0 |
|
10% |
10 |
1 |
|
22% |
| src / couchers / i18n / i18n.py |
|
97% |
32 |
1 |
0 |
|
90% |
10 |
1 |
|
95% |
| src / couchers / i18n / i18next.py |
|
93% |
103 |
7 |
0 |
|
85% |
40 |
4 |
|
91% |
| src / couchers / i18n / plurals.py |
|
54% |
110 |
51 |
0 |
|
7% |
28 |
0 |
|
44% |
| src / couchers / interceptors.py |
|
86% |
225 |
32 |
4 |
|
80% |
74 |
11 |
|
84% |
| src / couchers / jobs / handlers.py |
|
92% |
461 |
39 |
0 |
|
75% |
132 |
23 |
|
88% |
| src / couchers / jobs / worker.py |
|
80% |
101 |
20 |
0 |
|
92% |
12 |
1 |
|
81% |
| src / couchers / materialized_views.py |
|
99% |
79 |
1 |
0 |
|
100% |
6 |
0 |
|
99% |
| src / couchers / migrations / env.py |
|
60% |
40 |
16 |
0 |
|
17% |
12 |
2 |
|
50% |
| src / couchers / models / host_requests.py |
|
99% |
70 |
1 |
6 |
|
100% |
0 |
0 |
|
99% |
| src / couchers / models / notifications.py |
|
99% |
166 |
2 |
2 |
|
100% |
0 |
0 |
|
99% |
| src / couchers / models / postal_verification.py |
|
98% |
42 |
1 |
2 |
|
100% |
0 |
0 |
|
98% |
| src / couchers / notifications / background.py |
|
79% |
98 |
21 |
0 |
|
67% |
30 |
4 |
|
76% |
| src / couchers / notifications / expo_api.py |
|
38% |
39 |
24 |
0 |
|
38% |
8 |
1 |
|
38% |
| src / couchers / notifications / push.py |
|
97% |
33 |
1 |
0 |
|
50% |
2 |
1 |
|
94% |
| src / couchers / notifications / quick_links.py |
|
80% |
65 |
13 |
0 |
|
50% |
14 |
3 |
|
75% |
| src / couchers / notifications / render.py |
|
87% |
232 |
31 |
1 |
|
81% |
116 |
12 |
|
85% |
| src / couchers / notifications / render_push.py |
|
84% |
273 |
44 |
1 |
|
83% |
126 |
18 |
|
83% |
| src / couchers / notifications / send_raw_push_notification.py |
|
31% |
93 |
64 |
0 |
|
0% |
26 |
0 |
|
24% |
| src / couchers / notifications / settings.py |
|
93% |
61 |
4 |
0 |
|
92% |
24 |
0 |
|
93% |
| src / couchers / notifications / web_push_api.py |
|
57% |
37 |
16 |
0 |
|
100% |
0 |
0 |
|
57% |
| src / couchers / phone / check.py |
|
88% |
8 |
1 |
0 |
|
50% |
2 |
1 |
|
80% |
| src / couchers / postal / postcard_service.py |
|
86% |
7 |
1 |
0 |
|
100% |
0 |
0 |
|
86% |
| src / couchers / reranker.py |
|
90% |
20 |
2 |
0 |
|
83% |
12 |
2 |
|
88% |
| src / couchers / resources.py |
|
94% |
70 |
4 |
0 |
|
62% |
8 |
1 |
|
91% |
| src / couchers / servicers / account.py |
|
94% |
316 |
19 |
0 |
|
82% |
90 |
14 |
|
91% |
| src / couchers / servicers / admin.py |
|
69% |
355 |
110 |
0 |
|
43% |
150 |
29 |
|
61% |
| src / couchers / servicers / api.py |
|
97% |
454 |
14 |
0 |
|
95% |
264 |
12 |
|
96% |
| src / couchers / servicers / auth.py |
|
88% |
300 |
37 |
0 |
|
76% |
104 |
13 |
|
85% |
| src / couchers / servicers / blocking.py |
|
95% |
42 |
2 |
0 |
|
83% |
12 |
2 |
|
93% |
| src / couchers / servicers / bugs.py |
|
96% |
46 |
2 |
0 |
|
100% |
6 |
0 |
|
96% |
| src / couchers / servicers / communities.py |
|
84% |
200 |
33 |
0 |
|
63% |
60 |
18 |
|
79% |
| src / couchers / servicers / conversations.py |
|
91% |
302 |
26 |
0 |
|
79% |
126 |
26 |
|
88% |
| src / couchers / servicers / discussions.py |
|
92% |
61 |
5 |
1 |
|
73% |
22 |
6 |
|
87% |
| src / couchers / servicers / donations.py |
|
96% |
71 |
3 |
0 |
|
78% |
18 |
4 |
|
92% |
| src / couchers / servicers / editor.py |
|
97% |
139 |
4 |
0 |
|
87% |
52 |
7 |
|
94% |
| src / couchers / servicers / events.py |
|
84% |
513 |
82 |
0 |
|
72% |
232 |
55 |
|
80% |
| src / couchers / servicers / galleries.py |
|
96% |
108 |
4 |
0 |
|
89% |
46 |
5 |
|
94% |
| src / couchers / servicers / gis.py |
|
81% |
37 |
7 |
0 |
|
100% |
0 |
0 |
|
81% |
| src / couchers / servicers / groups.py |
|
80% |
113 |
23 |
0 |
|
50% |
24 |
8 |
|
74% |
| src / couchers / servicers / jail.py |
|
97% |
69 |
2 |
0 |
|
90% |
20 |
2 |
|
96% |
| src / couchers / servicers / media.py |
|
96% |
24 |
1 |
0 |
|
50% |
2 |
1 |
|
92% |
| src / couchers / servicers / moderation.py |
|
84% |
153 |
24 |
0 |
|
76% |
54 |
7 |
|
82% |
| src / couchers / servicers / notifications.py |
|
93% |
114 |
8 |
0 |
|
70% |
30 |
9 |
|
88% |
| src / couchers / servicers / pages.py |
|
95% |
149 |
8 |
0 |
|
89% |
74 |
8 |
|
93% |
| src / couchers / servicers / postal_verification.py |
|
94% |
124 |
7 |
0 |
|
86% |
44 |
6 |
|
92% |
| src / couchers / servicers / public.py |
|
95% |
73 |
4 |
0 |
|
71% |
14 |
2 |
|
91% |
| src / couchers / servicers / references.py |
|
98% |
169 |
4 |
0 |
|
90% |
48 |
5 |
|
96% |
| src / couchers / servicers / requests.py |
|
94% |
296 |
19 |
0 |
|
84% |
122 |
17 |
|
91% |
| src / couchers / servicers / search.py |
|
88% |
279 |
34 |
0 |
|
73% |
128 |
28 |
|
83% |
| src / couchers / servicers / threads.py |
|
95% |
123 |
6 |
3 |
|
83% |
42 |
7 |
|
92% |
| src / couchers / sql.py |
|
98% |
65 |
1 |
5 |
|
85% |
20 |
3 |
|
95% |
| src / couchers / tasks.py |
|
96% |
73 |
3 |
0 |
|
83% |
18 |
3 |
|
93% |
| src / couchers / templates / v2.py |
|
99% |
97 |
1 |
0 |
|
75% |
8 |
2 |
|
97% |
| src / couchers / tracing.py |
|
58% |
19 |
8 |
0 |
|
0% |
2 |
0 |
|
52% |
| src / couchers / urls.py |
|
93% |
74 |
5 |
0 |
|
50% |
2 |
1 |
|
92% |
| src / couchers / utils.py |
|
93% |
184 |
13 |
8 |
|
76% |
50 |
12 |
|
89% |
| src / tests / conftest.py |
|
99% |
132 |
1 |
2 |
|
50% |
2 |
1 |
|
99% |
| src / tests / fixtures / db.py |
|
97% |
117 |
4 |
0 |
|
100% |
20 |
0 |
|
97% |
| src / tests / fixtures / sessions.py |
|
99% |
289 |
1 |
0 |
|
100% |
4 |
0 |
|
99% |
| src / tests / test_bg_jobs.py |
|
99% |
685 |
5 |
0 |
|
95% |
20 |
1 |
|
99% |
| src / tests / test_bugs.py |
|
100% |
84 |
0 |
0 |
|
25% |
8 |
6 |
|
93% |
| src / tests / test_db.py |
|
100% |
130 |
0 |
0 |
|
50% |
2 |
1 |
|
99% |
| src / tests / test_notifications.py |
|
99% |
565 |
3 |
0 |
|
84% |
32 |
5 |
|
99% |
| src / tests / test_references.py |
|
100% |
597 |
0 |
0 |
|
67% |
12 |
4 |
|
99% |
| src / tests / test_requests.py |
|
99% |
724 |
2 |
0 |
|
75% |
12 |
3 |
|
99% |
| src / tests / test_strong_verification.py |
|
99% |
380 |
1 |
0 |
|
93% |
14 |
1 |
|
99% |
| src / tests / test_verification.py |
|
100% |
164 |
0 |
0 |
|
75% |
4 |
1 |
|
99% |