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

iplweb / bpp / 71e1e2ba-d8df-4d64-aa69-87ac103bff42

20 Aug 2025 08:40PM UTC coverage: 44.985% (+2.6%) from 42.351%
71e1e2ba-d8df-4d64-aa69-87ac103bff42

push

circleci

mpasternak
Merge branch 'release/v202508.1193'

3 of 3 new or added lines in 2 files covered. (100.0%)

1651 existing lines in 99 files now uncovered.

17154 of 38133 relevant lines covered (44.98%)

0.82 hits per line

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

46.3
src/integration_tests/test_conftest.py
UNCOV
1
import pytest
1✔
UNCOV
2
from django.db import connection
1✔
3

UNCOV
4
from bpp.models.cache import Autorzy, Rekord
1✔
UNCOV
5
from bpp.models.wydawnictwo_ciagle import Wydawnictwo_Ciagle_Autor
1✔
6

7

UNCOV
8
def test_uczelnia(uczelnia):
1✔
9
    assert uczelnia is not None
×
10

11

UNCOV
12
def test_wydzial(wydzial):
1✔
13
    assert wydzial is not None
×
14

15

UNCOV
16
@pytest.mark.django_db
1✔
UNCOV
17
def test_wydawnictwo_ciagle(wydawnictwo_ciagle):
1✔
18
    assert wydawnictwo_ciagle is not None
×
19

20

UNCOV
21
def test_autorzy(autor_jan_nowak, autor_jan_kowalski):
1✔
22
    assert autor_jan_kowalski is not None
×
23
    assert autor_jan_nowak is not None
×
24

25

UNCOV
26
def test_jednostka(jednostka):
1✔
27
    assert jednostka is not None
×
28

29

UNCOV
30
def test_zrodlo(zrodlo):
1✔
31
    assert zrodlo is not None
×
32

33

UNCOV
34
@pytest.mark.django_db
1✔
UNCOV
35
def test_wydawnictwo_zwarte(wydawnictwo_zwarte):
1✔
36
    assert wydawnictwo_zwarte is not None
×
37

38

UNCOV
39
def test_doktorat(doktorat):
1✔
40
    assert doktorat is not None
×
41

42

UNCOV
43
def test_habilitacja(habilitacja):
1✔
44
    assert habilitacja is not None
×
45

46

UNCOV
47
def test_patent(patent):
1✔
48
    assert patent is not None
×
49

50

UNCOV
51
@pytest.mark.uruchom_tylko_bez_microsoft_auth
1✔
UNCOV
52
def test_preauth_webtest_app(app):
1✔
53
    assert app is not None
×
54
    res = app.get("/admin/").follow()
×
55
    assert "Zaloguj się" in res.text
×
56

57

UNCOV
58
def test_admin_app(admin_app):
1✔
59
    assert admin_app is not None
×
60
    res = admin_app.get("/admin/")
×
61
    assert "Redagowanie" in res.text
×
62

63

UNCOV
64
def test_praca_doktorska_view(doktorat):
1✔
65
    # Jeżeli nie ma charatkeruy formalnego 'D', to sie to nie pokaze
66
    cur = connection.cursor()
×
67
    cur.execute("SELECT * FROM bpp_praca_doktorska_view")
×
68
    assert len(cur.fetchall()) == 1
×
69

70

UNCOV
71
def test_praca_habilitacyjna_view(habilitacja):
1✔
72
    # Jeżeli nie ma charatkeruy formalnego 'H', to sie to nie pokaze
73
    cur = connection.cursor()
×
74
    cur.execute("SELECT * FROM bpp_praca_habilitacyjna_view")
×
75
    assert len(cur.fetchall()) == 1
×
76

77

UNCOV
78
@pytest.mark.django_db
1✔
UNCOV
79
def test_patent_view(patent):
1✔
80
    # Jeżeli nie ma charatkeruy formalnego 'PAT' oraz typu KBN PO oraz jezyka 'pol.', to sie to nie pokaze
81
    cur = connection.cursor()
×
82
    cur.execute("SELECT * FROM bpp_patent_view")
×
83
    assert len(cur.fetchall()) == 1
×
84

85

UNCOV
86
@pytest.mark.django_db
1✔
UNCOV
87
def test_wydawnictwo_ciagle_z_dwoma_autorami(wydawnictwo_ciagle_z_dwoma_autorami):
1✔
88
    assert Rekord.objects.all().count() == 1
×
89
    assert Wydawnictwo_Ciagle_Autor.objects.all().count() == 2
×
90
    assert Autorzy.objects.count() == 2
×
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