'Watch and unwatch a locale.'

def test_watch_locale(self):

    u = UserFactory()
    self.client.login(username=u.username, password='testpass')
    d = DocumentFactory()
    next_url = reverse('wiki.discuss.threads', args=[d.slug])
    response = post(self.client, 'wiki.discuss.watch_locale', {'watch': 'yes', 'next': next_url})
    self.assertContains(response, 'Turn    off    emails')
    response = post(self.client, 'wiki.discuss.watch_locale', {'watch': 'no', 'next': next_url})
    self.assertContains(response, 'Get    emailed    when    there    is    new    discussion')
