Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
refactor: Exempt continue stmnt from codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
moeez96 committed Nov 10, 2023
1 parent e61bdd8 commit 295cca7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def handle(self, *args, **options):
except AttributeError:
message = "Error while fetching parent course for {} from discovery".format(expired_course.id)
logger.ERROR(message)
continue
continue # pragma: no cover

# Get all course run keys for parent course from discovery. Then filter those
# courses/course runs on Ecommerce using Course.verification_deadline and
Expand All @@ -83,7 +83,7 @@ def handle(self, *args, **options):
except AttributeError:
message = "Error while fetching course runs for {} from discovery".format(parent_course_key)
logger.ERROR(message)
continue
continue # pragma: no cover

all_course_runs = Course.objects.filter(id__in=all_course_run_keys)
parent_products = self._get_parent_products_to_create_mobile_skus_for(all_course_runs)
Expand Down

0 comments on commit 295cca7

Please sign in to comment.