This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.test import TestCase | |
from django.db import connection | |
from django.core.management.color import no_style | |
from django.db.models.base import ModelBase | |
from django.db import models | |
class ModelMixinTestCase(TestCase): | |
""" | |
Base class for tests of model mixins. | |
To use, subclass and specify the mixin class variable. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.test import TestCase | |
from django.db import connection | |
from django.core.management.color import no_style | |
from django.db.models.base import ModelBase | |
import uuid | |
class ModelMixinTestCase(TestCase): | |
""" | |
Base class for tests of model mixins. | |
To use, subclass and specify the mixin class variable. |