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

iplweb / bpp / 69252c38-21b1-49f8-98a5-a21d59416a66

17 Feb 2025 01:27AM UTC coverage: 47.492% (+0.7%) from 46.838%
69252c38-21b1-49f8-98a5-a21d59416a66

push

circleci

mpasternak
Merge branch 'release/v202502.1156'

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

2233 existing lines in 114 files now uncovered.

16671 of 35103 relevant lines covered (47.49%)

1.2 hits per line

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

52.63
src/integrator2/tests/test_tasks.py
UNCOV
1
from datetime import timedelta
1✔
2

UNCOV
3
import pytest
1✔
UNCOV
4
from model_bakery import baker
1✔
5

UNCOV
6
from integrator2.models import ListaMinisterialnaIntegration
1✔
UNCOV
7
from integrator2.tasks import analyze_file, remove_old_integrator_files
1✔
8

UNCOV
9
from django.utils import timezone
1✔
10

11

UNCOV
12
@pytest.mark.django_db(transaction=True)
1✔
UNCOV
13
def test_analyze_file(lmi):
1✔
14
    res = analyze_file(pk=lmi.pk)
×
15
    assert res is None
×
16

17

UNCOV
18
@pytest.mark.django_db
1✔
UNCOV
19
def test_remove_old_integrator_files():
1✔
20
    baker.make(ListaMinisterialnaIntegration)
×
21
    f = baker.make(ListaMinisterialnaIntegration)
×
22
    f.uploaded_on = timezone.now() - timedelta(days=20)
×
23
    f.save()
×
24

25
    assert ListaMinisterialnaIntegration.objects.all().count() == 2
×
26

27
    remove_old_integrator_files()
×
28

29
    assert ListaMinisterialnaIntegration.objects.all().count() == 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