Skip to content

Commit

Permalink
Add pragma no cover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hnryjmes committed Dec 16, 2024
1 parent 77173b2 commit 32a1ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/compliance/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_record_holding_sites_for_case(case):
Site.objects.filter(sites_on_application__application_id=case.id).values_list(
"site_records_located_at_id", flat=True
)
) # /PS-IGNORE
) # pragma: no cover


def generate_compliance_site_case(case: Case):
Expand Down
2 changes: 1 addition & 1 deletion api/licences/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_licence_reference_code(application_reference):


def serialize_goods_on_licence(licence):
from api.licences.serializers.view_licence import GoodOnLicenceViewSerializer
from api.licences.serializers.view_licence import GoodOnLicenceViewSerializer # pragma: no cover

if licence.goods.exists():
# Standard Application
Expand Down

0 comments on commit 32a1ec2

Please sign in to comment.