gault-millau/apps/utils/tests/tests_permissions.py
Виктор Гладких adbc22f1f6 Fix comment test
2019-10-21 16:03:19 +03:00

19 lines
389 B
Python

from rest_framework.test import APITestCase
from location.models import Country
from translation.models import Language
class BasePermissionTests(APITestCase):
def setUp(self):
self.lang = Language.objects.get(
title='Russia',
locale='ru-RU'
)
self.country_ru = Country.objects.get(
name={"en-GB": "Russian"}
)