| api/app.py |
113 |
13 |
0 |
6 |
0 |
84% |
| api/config.py |
57 |
0 |
0 |
6 |
0 |
100% |
| api/database/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/database/entity.py |
12 |
6 |
0 |
0 |
0 |
50% |
| api/database/integration_1c/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/database/integration_1c/entity_checker.py |
38 |
28 |
0 |
18 |
0 |
18% |
| api/database/integration_1c/integration_mappers.py |
91 |
68 |
0 |
46 |
0 |
17% |
| api/database/integration_1c/savers.py |
29 |
14 |
0 |
8 |
0 |
41% |
| api/database/orders.py |
81 |
59 |
0 |
30 |
0 |
20% |
| api/database/text_search/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/database/text_search/mongo_search.py |
16 |
10 |
0 |
4 |
0 |
30% |
| api/database/updater.py |
120 |
90 |
0 |
56 |
0 |
17% |
| api/database/verification.py |
58 |
46 |
0 |
38 |
0 |
12% |
| api/endpoints/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/endpoints/admin/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/endpoints/admin/ads.py |
52 |
22 |
0 |
8 |
0 |
50% |
| api/endpoints/admin/api_keys.py |
28 |
8 |
0 |
2 |
0 |
67% |
| api/endpoints/admin/settings.py |
29 |
16 |
0 |
4 |
0 |
39% |
| api/endpoints/admin/utils.py |
9 |
1 |
0 |
0 |
0 |
89% |
| api/endpoints/cleanup.py |
13 |
3 |
0 |
0 |
0 |
77% |
| api/endpoints/int1c.py |
39 |
21 |
0 |
12 |
0 |
35% |
| api/endpoints/misc/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/endpoints/misc/clients.py |
65 |
27 |
0 |
12 |
0 |
49% |
| api/endpoints/misc/documents.py |
37 |
10 |
0 |
0 |
0 |
73% |
| api/endpoints/misc/verifications.py |
16 |
3 |
0 |
0 |
0 |
81% |
| api/endpoints/notification_webhook.py |
40 |
17 |
0 |
8 |
0 |
48% |
| api/endpoints/orders/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/endpoints/orders/active_orders.py |
33 |
11 |
0 |
4 |
0 |
59% |
| api/endpoints/orders/appointment.py |
31 |
6 |
0 |
0 |
0 |
81% |
| api/endpoints/orders/archive.py |
48 |
17 |
0 |
4 |
0 |
60% |
| api/endpoints/orders/bids.py |
37 |
12 |
0 |
6 |
0 |
58% |
| api/endpoints/orders/buffer_orders.py |
48 |
12 |
0 |
0 |
0 |
75% |
| api/endpoints/orders/canceled.py |
37 |
9 |
0 |
0 |
0 |
76% |
| api/endpoints/orders/confirmed_orders.py |
34 |
7 |
0 |
0 |
0 |
79% |
| api/endpoints/orders/exchange_orders.py |
57 |
14 |
0 |
0 |
0 |
75% |
| api/endpoints/orders/external_orders.py |
40 |
17 |
0 |
6 |
0 |
50% |
| api/endpoints/orders/orders.py |
65 |
18 |
0 |
0 |
0 |
72% |
| api/endpoints/orders/recommendations.py |
18 |
3 |
0 |
0 |
0 |
83% |
| api/endpoints/orders/trash.py |
24 |
4 |
0 |
0 |
0 |
83% |
| api/endpoints/organization/__init__.py |
57 |
14 |
0 |
2 |
0 |
73% |
| api/endpoints/organization/subsidiaries.py |
55 |
17 |
0 |
4 |
0 |
64% |
| api/endpoints/reports.py |
10 |
1 |
0 |
0 |
0 |
90% |
| api/endpoints/resources/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/endpoints/resources/drivers.py |
27 |
5 |
0 |
0 |
0 |
81% |
| api/endpoints/resources/trailers.py |
27 |
5 |
0 |
0 |
0 |
81% |
| api/endpoints/resources/trucks.py |
31 |
6 |
0 |
0 |
0 |
81% |
| api/endpoints/statistics.py |
38 |
0 |
0 |
4 |
0 |
100% |
| api/endpoints/suggest.py |
58 |
21 |
0 |
2 |
0 |
62% |
| api/endpoints/users.py |
44 |
10 |
0 |
0 |
0 |
77% |
| api/errors.py |
65 |
45 |
0 |
12 |
0 |
26% |
| api/exceptions.py |
40 |
12 |
0 |
0 |
0 |
70% |
| api/handlers/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/api_keys.py |
21 |
11 |
0 |
4 |
0 |
40% |
| api/handlers/authorization/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/authorization/assigned_filters.py |
91 |
70 |
0 |
44 |
0 |
16% |
| api/handlers/authorization/by_api_key.py |
7 |
3 |
0 |
2 |
0 |
44% |
| api/handlers/authorization/check_role.py |
11 |
5 |
0 |
4 |
0 |
40% |
| api/handlers/authorization/company_employee_access.py |
73 |
56 |
0 |
32 |
0 |
16% |
| api/handlers/authorization/confidential.py |
21 |
16 |
0 |
2 |
0 |
22% |
| api/handlers/grabbers/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/administrative.py |
6 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/biding.py |
4 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/clients.py |
5 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/documents.py |
4 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/orders.py |
7 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/organizations.py |
5 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/resources.py |
8 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/grabbers/users.py |
4 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/int1c.py |
22 |
16 |
0 |
8 |
0 |
20% |
| api/handlers/misc/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/misc/clients.py |
135 |
101 |
0 |
44 |
0 |
19% |
| api/handlers/misc/documents.py |
153 |
118 |
0 |
64 |
0 |
16% |
| api/handlers/misc/verification.py |
36 |
26 |
0 |
16 |
0 |
19% |
| api/handlers/orders/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/handlers/orders/active_orders.py |
110 |
89 |
0 |
64 |
0 |
12% |
| api/handlers/orders/archive.py |
67 |
46 |
0 |
28 |
0 |
22% |
| api/handlers/orders/bids.py |
103 |
79 |
0 |
36 |
0 |
17% |
| api/handlers/orders/buffer_orders.py |
143 |
111 |
0 |
54 |
0 |
16% |
| api/handlers/orders/cancellation.py |
82 |
58 |
0 |
16 |
0 |
24% |
| api/handlers/orders/confirm_orders.py |
181 |
141 |
0 |
60 |
0 |
17% |
| api/handlers/orders/exchange_orders.py |
216 |
175 |
0 |
62 |
0 |
15% |
| api/handlers/orders/external_orders.py |
86 |
69 |
0 |
30 |
0 |
15% |
| api/handlers/orders/orders.py |
156 |
128 |
0 |
50 |
0 |
14% |
| api/handlers/orders/recommendations.py |
69 |
40 |
0 |
22 |
0 |
32% |
| api/handlers/orders/to_appointment.py |
51 |
30 |
0 |
6 |
0 |
37% |
| api/handlers/orders/trash_orders.py |
19 |
8 |
0 |
2 |
0 |
52% |
| api/handlers/organizations.py |
205 |
167 |
0 |
78 |
0 |
13% |
| api/handlers/reports.py |
11 |
5 |
0 |
0 |
0 |
55% |
| api/handlers/resources/__init__.py |
54 |
36 |
0 |
24 |
0 |
23% |
| api/handlers/resources/common.py |
26 |
15 |
0 |
10 |
0 |
31% |
| api/handlers/resources/drivers.py |
61 |
32 |
0 |
4 |
0 |
45% |
| api/handlers/resources/processor.py |
12 |
4 |
0 |
0 |
0 |
67% |
| api/handlers/resources/trailers.py |
59 |
32 |
0 |
4 |
0 |
43% |
| api/handlers/resources/trucks.py |
59 |
32 |
0 |
4 |
0 |
43% |
| api/handlers/subsidiaries.py |
97 |
72 |
0 |
42 |
0 |
18% |
| api/handlers/suggestions.py |
30 |
20 |
0 |
10 |
0 |
25% |
| api/handlers/users.py |
385 |
316 |
0 |
128 |
0 |
13% |
| api/indexes.py |
80 |
57 |
0 |
18 |
1 |
24% |
| api/keycloak.py |
5 |
0 |
0 |
0 |
0 |
100% |
| api/logging_config.py |
20 |
1 |
0 |
4 |
2 |
88% |
| api/mongodb.py |
31 |
1 |
0 |
2 |
1 |
94% |
| api/operations/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/operations/assignment.py |
38 |
27 |
0 |
22 |
0 |
18% |
| api/operations/orders.py |
174 |
142 |
0 |
82 |
0 |
12% |
| api/services/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/services/dadata.py |
34 |
22 |
0 |
2 |
0 |
33% |
| api/services/documents.py |
14 |
4 |
0 |
2 |
0 |
62% |
| api/services/location_connector.py |
51 |
39 |
0 |
14 |
0 |
18% |
| api/services/microservice_connector.py |
106 |
69 |
0 |
28 |
0 |
28% |
| api/services/minio_policy_setter.py |
9 |
3 |
0 |
0 |
0 |
67% |
| api/services/notifications/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/services/notifications/builder.py |
116 |
86 |
0 |
38 |
0 |
19% |
| api/services/notifications/director.py |
282 |
212 |
0 |
120 |
0 |
17% |
| api/services/opensearch_client.py |
48 |
24 |
0 |
6 |
1 |
46% |
| api/services/recommendations.py |
72 |
52 |
0 |
22 |
0 |
21% |
| api/services/telegram.py |
31 |
18 |
0 |
10 |
0 |
32% |
| api/stubs.py |
2 |
1 |
0 |
0 |
0 |
50% |
| api/utils/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| api/utils/access_wrapper.py |
28 |
14 |
0 |
10 |
0 |
37% |
| api/utils/check_carriers_resources.py |
85 |
65 |
0 |
56 |
0 |
14% |
| api/utils/clear.py |
6 |
3 |
0 |
4 |
0 |
30% |
| api/utils/concurrency.py |
7 |
2 |
0 |
0 |
0 |
71% |
| api/utils/data_grabber.py |
258 |
203 |
0 |
102 |
0 |
15% |
| api/utils/dt_utils.py |
61 |
37 |
0 |
20 |
2 |
35% |
| api/utils/excel.py |
397 |
328 |
0 |
118 |
0 |
13% |
| api/utils/helper.py |
155 |
109 |
0 |
54 |
1 |
22% |
| tests/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/conftest.py |
130 |
63 |
0 |
2 |
0 |
51% |
| tests/filter_fixtures.py |
32 |
19 |
0 |
0 |
0 |
41% |
| tests/random_model.py |
75 |
13 |
0 |
42 |
12 |
79% |
| tests/tests_api/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/admin/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/admin/settings.py |
12 |
6 |
0 |
0 |
0 |
50% |
| tests/tests_api/admin/test_ads.py |
26 |
16 |
0 |
0 |
0 |
38% |
| tests/tests_api/auth.py |
13 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/fixtures.py |
68 |
38 |
0 |
0 |
0 |
44% |
| tests/tests_api/misc/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/misc/clients.py |
22 |
12 |
0 |
0 |
0 |
45% |
| tests/tests_api/misc/documents.py |
57 |
34 |
0 |
6 |
0 |
37% |
| tests/tests_api/misc/verification.py |
18 |
10 |
0 |
2 |
0 |
40% |
| tests/tests_api/orders/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/orders/appointment.py |
15 |
9 |
0 |
0 |
0 |
40% |
| tests/tests_api/orders/buffer.py |
39 |
23 |
0 |
0 |
0 |
41% |
| tests/tests_api/orders/canceled.py |
15 |
9 |
0 |
0 |
0 |
40% |
| tests/tests_api/orders/confirmed.py |
15 |
9 |
0 |
0 |
0 |
40% |
| tests/tests_api/orders/exchange.py |
51 |
31 |
0 |
0 |
0 |
39% |
| tests/tests_api/orders/orders.py |
20 |
10 |
0 |
0 |
0 |
50% |
| tests/tests_api/orders/trash.py |
7 |
3 |
0 |
0 |
0 |
57% |
| tests/tests_api/organizations/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/organizations/organization.py |
33 |
21 |
0 |
4 |
0 |
32% |
| tests/tests_api/organizations/organization_resources.py |
44 |
27 |
0 |
0 |
0 |
39% |
| tests/tests_api/organizations/subsidiaries.py |
21 |
13 |
0 |
0 |
0 |
38% |
| tests/tests_api/resources/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/resources/drivers.py |
23 |
15 |
0 |
0 |
0 |
35% |
| tests/tests_api/resources/trailers.py |
26 |
18 |
0 |
4 |
0 |
27% |
| tests/tests_api/resources/trucks.py |
24 |
15 |
0 |
0 |
0 |
38% |
| tests/tests_api/statistics.py |
10 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_api/suggestions.py |
59 |
44 |
0 |
20 |
0 |
19% |
| tests/tests_unit/__init__.py |
0 |
0 |
0 |
0 |
0 |
100% |
| tests/tests_unit/cases_carrier_checks.py |
51 |
35 |
0 |
0 |
0 |
31% |
| tests/tests_unit/cases_test_data_grabber.py |
43 |
18 |
0 |
0 |
0 |
58% |
| tests/tests_unit/data_grabber_fixtures.py |
24 |
9 |
0 |
0 |
0 |
62% |
| tests/tests_unit/get_params_fixtures.py |
11 |
4 |
0 |
0 |
0 |
64% |
| tests/tests_unit/model_fixtures.py |
11 |
5 |
0 |
0 |
0 |
55% |
| tests/tests_unit/test_authorization.py |
31 |
18 |
0 |
6 |
0 |
35% |
| tests/tests_unit/test_carrier_checks.py |
9 |
2 |
0 |
0 |
0 |
78% |
| tests/tests_unit/test_data_grabber.py |
97 |
53 |
0 |
0 |
0 |
45% |
| tests/tests_unit/test_datetime_utils.py |
16 |
5 |
0 |
0 |
0 |
69% |
| tests/tests_unit/test_distance.py |
11 |
4 |
0 |
0 |
0 |
64% |
| tests/tests_unit/test_geo_connector.py |
33 |
16 |
0 |
4 |
0 |
46% |
| tests/tests_unit/test_notifications.py |
14 |
5 |
0 |
0 |
0 |
64% |