def test_failure_limit_many(self):
        for i in range(1, FAILURE_LIMIT):
            response = self._login()
            # Check if we are in the same login page
            self.assertContains(response, self.LOGIN_FORM_KEY)

        # So, we shouldn't have gotten a lock-out yet.
        # We should get a locked message each time we try again
        for i in range(0, random.randrange(1, FAILURE_LIMIT)):
            response = self._login()
            self.assertContains(response, self.LOCKED_MESSAGE)
Get the credentials and database name from options in config file.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/django-axes-1.4.0/axes/tests.py/AccessAttemptTest.test_failure_limit_many--crossover with--dataset/ETHPy150Open openstack/networking-cisco/tools/saf_prepare_setup.py/get_mysql_credentials