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

Clinical-Genomics / cg / 12294344407

12 Dec 2024 10:19AM UTC coverage: 80.834%. First build
12294344407

Pull #3936

github

web-flow
Merge 82f219ba6 into ab9ded5a4
Pull Request #3936: (Improve order flow) Minimal implementation FASTQSubmission

34 of 52 new or added lines in 11 files covered. (65.38%)

13648 of 16884 relevant lines covered (80.83%)

1.5 hits per line

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

92.31
/cg/services/order_validation_service/errors/validation_errors.py
1
from pydantic import BaseModel
1✔
2

3
from cg.services.order_validation_service.errors.case_errors import CaseError
1✔
4
from cg.services.order_validation_service.errors.case_sample_errors import CaseSampleError
1✔
5
from cg.services.order_validation_service.errors.order_errors import OrderError
1✔
6
from cg.services.order_validation_service.errors.sample_errors import SampleError
1✔
7

8

9
class ValidationErrors(BaseModel):
1✔
10
    order_errors: list[OrderError] = []
1✔
11
    case_errors: list[CaseError] = []
1✔
12
    sample_errors: list[SampleError] = []
1✔
13
    case_sample_errors: list[CaseSampleError] = []
1✔
14

15
    @property
1✔
16
    def is_empty(self) -> bool:
1✔
NEW
17
        return all(not getattr(self, field) for field in self.model_fields)
×
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

© 2025 Coveralls, Inc