Skip to content

Commit 5f565ee

Browse files
committed
update tests
1 parent a494094 commit 5f565ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

opaque_keys/edx/tests/test_locators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def test_aggregate_course_locator_serialize(self):
8484
"org/course/run",
8585
"org+course+run",
8686
"org+course+run+foo",
87+
"aggregate-course:org+course+run",
8788
)
88-
def test_invalid_format_location(self, course_id):
89+
def test_invalid_format_course_key(self, course_key):
8990
with self.assertRaises(InvalidKeyError):
90-
AggregateCourseLocator.from_string(course_id)
91+
AggregateCourseLocator.from_string(course_key)

0 commit comments

Comments
 (0)