diff --git a/ecommerce/extensions/iap/management/commands/batch_update_mobile_seats.py b/ecommerce/extensions/iap/management/commands/batch_update_mobile_seats.py index f61f9368d62..721afafb2b3 100644 --- a/ecommerce/extensions/iap/management/commands/batch_update_mobile_seats.py +++ b/ecommerce/extensions/iap/management/commands/batch_update_mobile_seats.py @@ -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 @@ -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)