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

iplweb / bpp / aeb5e688-8464-4ced-b05e-d9bbaea878ff

02 Mar 2025 10:47PM UTC coverage: 45.98% (-0.7%) from 46.674%
aeb5e688-8464-4ced-b05e-d9bbaea878ff

push

circleci

mpasternak
Merge branch 'release/v202503.1160'

52 of 269 new or added lines in 20 files covered. (19.33%)

131 existing lines in 7 files now uncovered.

16524 of 35937 relevant lines covered (45.98%)

0.83 hits per line

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

11.11
src/pbn_api/validators.py
1
def check_mongoId(s: str):
2✔
2
    """Sprawdza, czy to prawidłowy mongoId z PBNu"""
3

NEW
4
    valid_letters = "0123456789abcdef"
×
5

NEW
6
    if len(s) == 24 and all(letter in valid_letters for letter in s.lower()):
×
NEW
7
        try:
×
NEW
8
            int(s, 16)
×
NEW
9
        except (TypeError, ValueError):
×
NEW
10
            return False
×
11

NEW
12
        return True
×
13

NEW
14
    return False
×
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