'RevisionForm should reject new tags that are the same as existing tags
that only differ by case.'

def test_case_sensitive_tags(self):

    rev = revision(save=True, tags='"JavaScript"')
    request = self.rf.get('/')
    request.user = rev.creator
    data = {'content': 'Content', 'toc_depth': 1, 'tags': 'Javascript'}
    rev_form = RevisionForm(data=data, instance=rev, request=request)
    self.assertTrue(rev_form.is_valid())
    self.assertEqual(rev_form.cleaned_data['tags'], '"JavaScript"')
