16 lines
368 B
Python
16 lines
368 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.test import TestCase
|
|
|
|
from ..models import Organization
|
|
from ..utils import create_default_organization
|
|
|
|
|
|
class OrganizationTestCase(TestCase):
|
|
def setUp(self):
|
|
create_default_organization()
|
|
|
|
def tearDown(self):
|
|
Organization.objects.all().delete()
|
|
Organization.objects.clear_cache()
|