'RevisionForm should reject empty slugs, even if there
is a parent slug portion'

def test_form_rejects_empty_slugs_with_parent(self):

    data = {'slug': '', 'title': 'Title', 'content': 'Content'}
    request = self.rf.get('/')
    request.user = self.user_model.objects.get(username='testuser')
    rev_form = RevisionForm(data=data, request=request, parent_slug='User:groovecoder')
    self.assertFalse(rev_form.is_valid())
