@@ -0,0 +1,1080 @@
+from django.test import TestCase%0A%0Afrom corehq.apps.domain.shortcuts import create_domain%0Afrom corehq.apps.users.models import CommCareUser%0A%0A%0Aclass TestCreateMobileWorkers(TestCase):%0A    domain = 'test_create_mobile_workers'%0A%0A    @classmethod%0A    def setUpClass(cls):%0A        super().setUpClass()%0A        cls.project = create_domain(cls.domain)%0A%0A    @classmethod%0A    def tearDownClass(cls):%0A        cls.project.delete()%0A        super().tearDownClass()%0A%0A    def test_create_basic(self):%0A        user = CommCareUser.create(%0A            self.domain,%0A            'mw1',%0A            's3cr4t',%0A            email='mw1@example.com',%0A            device_id='my-pixel',%0A            first_name='Mobile',%0A            last_name='Worker',%0A        )%0A        self.assertEqual(self.domain, user.domain)%0A        self.assertEqual('mw1', user.username)%0A        self.assertEqual('mw1@example.com', user.email)%0A        self.assertEqual(%5B'my-pixel'%5D, user.device_ids)%0A        self.assertEqual('Mobile', user.first_name)%0A        self.assertEqual(True, user.is_active)%0A        self.addCleanup(user.delete)%0A%0A

add basic test for normal user create functionality