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

akvo / agriconnect / #18

11 Sep 2025 07:09PM UTC coverage: 76.613% (-10.0%) from 86.642%
#18

push

github

web-flow
Merge pull request #8 from akvo/feature/6-farmer-onboarding-first-contact

Admin On Boarding Email & Customer List on Admin Page

86 of 146 branches covered (58.9%)

Branch coverage included in aggregate %.

674 of 846 relevant lines covered (79.67%)

0.8 hits per line

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

66.67
/backend/utils/validators.py
1
def validate_phone_number(phone_number: str) -> str:
1✔
2
    """
3
    Validate phone number format.
4

5
    Args:
6
        phone_number: The phone number to validate
7

8
    Returns:
9
        The validated phone number
10

11
    Raises:
12
        ValueError: If phone number format is invalid
13
    """
14
    if not phone_number.startswith("+") or len(phone_number) < 10:
1!
15
        raise ValueError(
×
16
            "Phone number must start with + and be at least 10 characters"
17
        )
18
    return phone_number
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