-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdevelop.py
26 lines (23 loc) · 868 Bytes
/
develop.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
from djeasytests.testsetup import TestSetup
import shop_categories
settings = dict(
SITE_ID=1,
ROOT_URLCONF='shop_categories.test_utils.project.urls',
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.staticfiles',
'treeadmin',
'shop_categories',
'shop_categories.test_utils.project'
],
SHOP_PRODUCT_MODEL = 'shop_categories.test_utils.project.models.product.Product',
SHOP_CATEGORIES_CATEGORY_MODEL = 'shop_categories.test_utils.project.models.category.Category'
)
testsetup = TestSetup(appname='shop_categories', test_settings=settings, version=shop_categories.get_version())
if __name__ == '__main__':
testsetup.run(__file__)