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

iplweb / bpp / 49150ee2-a89b-4df8-9538-55cb06c06872

24 Aug 2025 11:07PM UTC coverage: 42.715% (+1.5%) from 41.169%
49150ee2-a89b-4df8-9538-55cb06c06872

push

circleci

mpasternak
Merge branch 'release/v202508.1207'

1 of 1 new or added line in 1 file covered. (100.0%)

1119 existing lines in 82 files now uncovered.

16660 of 39003 relevant lines covered (42.71%)

1.16 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