from django.test import TestCase
from authentification.managements.commands import createadmin
from authentification.models import User


class QueryTestCase(TestCase):

    def setUp(self):
        pass

    def test_createadmin(self):
        test_user = createadmin.Command().handle(options={'username':
            'test_admin', 'password': 'test_admin'})
        assert test_user.password == 'test_password'

c6c2deef4a9feed3f985cc49d82e5d0290f1acee
<mask token>


class QueryTestCase(TestCase):
    <mask token>
    <mask token>

<mask token>


class QueryTestCase(TestCase):
    <mask token>

    def test_createadmin(self):
        test_user = createadmin.Command().handle(options={'username':
            'test_admin', 'password': 'test_admin'})
        assert test_user.password == 'test_password'

<mask token>


class QueryTestCase(TestCase):

    def setUp(self):
        pass

    def test_createadmin(self):
        test_user = createadmin.Command().handle(options={'username':
            'test_admin', 'password': 'test_admin'})
        assert test_user.password == 'test_password'

from django.test import TestCase
from authentification.managements.commands import createadmin
from authentification.models import User


class QueryTestCase(TestCase):

    def setUp(self):
        pass

    def test_createadmin(self):
        test_user = createadmin.Command().handle(options={'username':
            'test_admin', 'password': 'test_admin'})
        assert test_user.password == 'test_password'
