• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iplweb / bpp / 18634744198

19 Oct 2025 07:00PM UTC coverage: 31.618% (-29.9%) from 61.514%
18634744198

push

github

mpasternak
Merge branch 'release/v202510.1270'

657 of 9430 branches covered (6.97%)

Branch coverage included in aggregate %.

229 of 523 new or added lines in 42 files covered. (43.79%)

11303 existing lines in 316 files now uncovered.

14765 of 39346 relevant lines covered (37.53%)

0.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

47.83
src/api_v1/viewsets/common.py
1
from rest_framework.pagination import PageNumberPagination
1✔
2

3
from django.utils.functional import cached_property
1✔
4

5
from bpp.models import Uczelnia
1✔
6

7

8
class UkryjStatusyKorektyMixin:
1✔
9
    @cached_property
1✔
10
    def ukryte_statusy(self):
1✔
UNCOV
11
        uczelnia = Uczelnia.objects.get_for_request(self.request)
×
UNCOV
12
        if uczelnia:
×
UNCOV
13
            ukryte_statusy = uczelnia.ukryte_statusy("api")
×
UNCOV
14
            return ukryte_statusy
×
15

16
    def get_queryset(self):
1✔
UNCOV
17
        queryset = super().get_queryset()
×
18

UNCOV
19
        if self.ukryte_statusy:
×
UNCOV
20
            queryset = queryset.exclude(status_korekty_id__in=self.ukryte_statusy)
×
21

UNCOV
22
        return queryset
×
23

24

25
class StreszczeniaPagination(PageNumberPagination):
1✔
26
    page_size = 1
1✔
27
    page_size_query_param = "page_size"
1✔
28
    max_page_size = 5
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc