Fix pagination test failures

Updated the pagination tests to no longer use the toy course, but to instead explicitly upload the assets it needs.

 Added a new AssetsTestCase base class to own shared helper methods.
This commit is contained in:
Andy Armstrong
2014-01-07 13:12:39 -05:00
parent 15cb79bc40
commit 100ace64db
2 changed files with 43 additions and 28 deletions

View File

@@ -72,7 +72,7 @@ class CourseTestCase(ModuleStoreTestCase):
email = 'test+courses@edx.org'
password = 'foo'
# Create the use so we can log them in.
# Create the user so we can log them in.
self.user = User.objects.create_user(uname, email, password)
# Note that we do not actually need to do anything