jumpserver/apps/users/tests.py

26 lines
377 B
Python
Raw Normal View History

2016-08-18 14:29:35 +00:00
import forgery_py
from django.test import TestCase, Client
from django.test.utils import setup_test_environment
from .models import User, UserGroup
setup_test_environment()
client = Client()
def create_usergroup(name):
pass
def get_random_usergroup():
pass
2016-08-19 16:18:44 +00:00
2016-08-18 14:29:35 +00:00
def create_user(username, name, email, groups):
pass
class UserListViewTests(TestCase):
2016-08-19 16:18:44 +00:00
pass