Ejemplo n.º 1
0
    def setUp(self):

        create_mock_system_user()

        super(LoginLogoutTest, self).setUp()
        self.user = make_user(username='******', password='******')
        self.profile = RegistrationProfile.objects.create_profile(self.user)
Ejemplo n.º 2
0
    def setUp(self):
        # for some reason, the call to this helper
        # in setup_databases() on the test runner
        # is not executing in this context.
        # this is required to make the test work.
        create_mock_system_user()

        super(TreemapUITestCase, self).setUp()

        instance_name = 'autotest_instance'

        Instance.objects.filter(name=instance_name).delete()

        self.instance = create_instance(name=instance_name,
                                        is_public=False,
                                        url_name='autotest-instance')

        self.user = make_commander_user(instance=self.instance,
                                        username='******')

        self.profile = RegistrationProfile.objects.create_profile(self.user)
Ejemplo n.º 3
0
    def setUp(self):
        # for some reason, the call to this helper
        # in setup_databases() on the test runner
        # is not executing in this context.
        # this is required to make the test work.
        create_mock_system_user()

        super(TreemapUITestCase, self).setUp()

        instance_name = 'autotest_instance'

        Instance.objects.filter(name=instance_name).delete()

        self.instance = create_instance(
            name=instance_name,
            is_public=False,
            url_name='autotest-instance')

        self.user = make_commander_user(instance=self.instance,
                                        username='******')

        self.profile = RegistrationProfile.objects.create_profile(self.user)
    def setUp(self):
        create_mock_system_user()

        super(ForgotUsernameTest, self).setUp()
        self.user = make_user(username='******', password='******')
    def setUp(self):
        create_mock_system_user()

        super(LoginLogoutTest, self).setUp()
        self.user = make_user(username='******', password='******')
        self.profile = RegistrationProfile.objects.create_profile(self.user)
Ejemplo n.º 6
0
    def setUp(self):

        create_mock_system_user()

        super(ForgotUsernameTest, self).setUp()
        self.user = make_user(username='******', password='******')