Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_add_fav_logged_in(self):
- self.add_user()
- c = Client()
- self.failUnlessEqual(c.login(username='john', password='password'), True)
- response = c.post('/main/toggleFavShow/4877')
- self.failUnlessEqual(response.status_code, 200)
Add Comment
Please, Sign In to add comment