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

iplweb / bpp / 79f9159b-fc2b-4fb0-a03d-b2c486c11307

18 Aug 2025 07:01PM UTC coverage: 39.761% (-5.8%) from 45.554%
79f9159b-fc2b-4fb0-a03d-b2c486c11307

push

circleci

mpasternak
Merge branch 'release/v202508.1190'

15 of 56 new or added lines in 7 files covered. (26.79%)

1686 existing lines in 105 files now uncovered.

15161 of 38130 relevant lines covered (39.76%)

0.4 hits per line

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

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

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

7

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

11

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

15

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

20

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

25

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

29

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

33

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

38

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

42

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

46

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

50

UNCOV
51
@pytest.mark.uruchom_tylko_bez_microsoft_auth
×
UNCOV
52
def test_preauth_webtest_app(app):
×
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):
×
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):
×
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):
×
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
×
UNCOV
79
def test_patent_view(patent):
×
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
×
UNCOV
87
def test_wydawnictwo_ciagle_z_dwoma_autorami(wydawnictwo_ciagle_z_dwoma_autorami):
×
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