-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8a7f29
commit e11b5b6
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,10 +121,10 @@ def test_num_queries_correct(self): | |
def test_dupe_user_csv(self): | ||
""" Assert that the course staff roles are correctly created given duplicate users in csv """ | ||
username, email = 'pam', '[email protected]' | ||
lines = [f'{username},{email},{self.course_role},{self.course_id}\n', | ||
f'{username},{email},{self.course_role},{self.course_id}\n'] | ||
course_id_2 = 'course-v1:edx+test+f21' | ||
|
||
lines = [f'{username},{email},{self.course_role},{self.course_id}\n', | ||
f'{username},{email},{self.course_role},{course_id_2}\n'] | ||
|
||
with NamedTemporaryFile() as csv: | ||
csv = self._write_test_csv(csv, lines) | ||
call_command(self.command, f'--csv_path={csv.name}') | ||
|