def test_slug_validation(self):
        slug = 'abc'
        p = Project(
            slug=slug, name='a', source_language=self.language_en,
            description='d'
        )
        p.clean_fields()
        slug = 'abc+'
        p = Project(
            slug=slug, name='a', source_language=self.language_en,
            description='d'
        )
        self.assertRaises(ValidationError, p.clean_fields)
The value of jid field should be a JID or coercable to one.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/projects/tests/models.py/ModelTests.test_slug_validation--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_typeCheckJID