Skip to content

Commit

Permalink
fix: Stop using testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed Mar 12, 2024
1 parent 0af1611 commit a24a56e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(self, num_users: int, username_prefix: str):
course_shortname = str(uuid.uuid4())[:6]
self.instructor = self.create_user(

Check warning on line 44 in platform_plugin_aspects/management/commands/load_test_tracking_events.py

View check run for this annotation

Codecov / codecov/patch

platform_plugin_aspects/management/commands/load_test_tracking_events.py#L42-L44

Added lines #L42 - L44 were not covered by tests
username=f"instructor_{course_shortname}",
name="Instructor",
password="aspects",
email=f"instructor_{course_shortname}@openedx.invalid",
is_active=True
Expand Down Expand Up @@ -82,6 +83,7 @@ def __init__(self, num_users: int, username_prefix: str):
user_short_name = str(uuid.uuid4())[:6]
u = self.create_user(

Check warning on line 84 in platform_plugin_aspects/management/commands/load_test_tracking_events.py

View check run for this annotation

Codecov / codecov/patch

platform_plugin_aspects/management/commands/load_test_tracking_events.py#L83-L84

Added lines #L83 - L84 were not covered by tests
username=f"learner_{user_short_name}",
name=f"Learner {user_short_name}",
password="aspects",
email=f"{user_short_name}@openedx.invalid",
is_active=True
Expand Down

0 comments on commit a24a56e

Please sign in to comment.