Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_static/tests.py   django-otp(Download)
    def setUp(self):
        try:
            self.user = self.create_user('alice', 'password')
        except Exception:
            self.skipTest("Unable to create the test user.")
    def setUp(self):
        for device_id, username in enumerate(['alice', 'bob']):
            try:
                user = self.create_user(username, 'password')
            except IntegrityError:

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_hotp/tests.py   django-otp(Download)
    def setUp(self):
        try:
            alice = self.create_user('alice', 'password')
        except IntegrityError:
            self.skipTest("Unable to create test user.")

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_totp/tests.py   django-otp(Download)
        """
        try:
            alice = self.create_user('alice', 'password')
        except IntegrityError:
            self.skipTest("Unable to create the test user.")

src/d/j/django-otp-0.2.7/django_otp/plugins/otp_email/tests.py   django-otp(Download)
    def setUp(self):
        try:
            alice = self.create_user('alice', 'password')
        except IntegrityError:
            self.skipTest("Failed to create user.")

src/d/j/django-otp-yubikey-0.2.0/otp_yubikey/tests.py   django-otp-yubikey(Download)
    def setUp(self):
        try:
            alice = self.create_user('alice', 'password')
            bob = self.create_user('bob', 'password')
        except IntegrityError:

src/d/j/django-otp-twilio-0.2.0/otp_twilio/tests.py   django-otp-twilio(Download)
    def setUp(self):
        try:
            self.alice = self.create_user('alice', 'password')
            self.bob = self.create_user('bob', 'password')
        except IntegrityError:

src/d/j/django-otp-agents-0.2.0/otp_agents/tests.py   django-otp-agents(Download)
 
        try:
            self.alice = self.create_user('alice', 'alice')
        except IntegrityError:
            self.skipTest("Unable to create a test user")