jumpserver/apps/users/tests.py

26 lines
369 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
def create_user(username, name, email, groups):
pass
class UserListViewTests(TestCase):
2016-08-08 16:43:11 +00:00