Exemple #1
0
    def test_bad_import2_deconstruct(self):
        from django_mysql.models.fields.sets import SetTextField as STField

        field = STField(models.IntegerField())
        name, path, args, kwargs = field.deconstruct()
        assert path == "django_mysql.models.SetTextField"
    def test_bad_import2_deconstruct(self):
        from django_mysql.models.fields.sets import SetTextField as STField

        field = STField(models.IntegerField())
        name, path, args, kwargs = field.deconstruct()
        assert path == "django_mysql.models.SetTextField"