Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """Tests for lists of SubscribedTasksPage view."""
- from tests.test_utils import GCIDjangoTestCase
- from tests.profile_utils import GCIProfileHelper
- class SubscribedTasksPageTest(GCIDjangoTestCase):
- def setUp(self):
- self.init()
- self.profile_helper = GCIProfileHelper(self.gci, self.dev_test)
- user = self.profile_helper.createUser()
- self.url = "/gci/subscribed_tasks/%s/%s" % (
- self.gci.key().name(),
- user.link_id )
- def testResponseOK(self):
- self.profile_helper.createStudent()
- response = self.get(self.url)
- self.assertResponseOK(response)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement