def setUp(self):
        self.user = create_test_user()
        self.user.is_active = False
        self.user.save()
        create_admin_user()

        self.url = reverse('main:unblock_user', args=[self.user.id])
    def setUp(self):
        create_test_user()

        self.url = reverse('main:edit_profile')
    def setUp(self):
        create_test_user()
        create_admin_user()

        self.url = reverse('main:register_librarian')
    def setUp(self):
        create_test_user()
        create_admin_user()

        self.url = reverse('main:log_list')
    def setUp(self):
        self.user = create_test_user()
        self.admin = create_admin_user()

        self.url = reverse('main:block_user', args=[self.user.id])
        self.admin_url = reverse('main:block_user', args=[self.admin.id])
    def setUp(self):
        user = create_test_user()
        create_admin_user()

        self.url = reverse('main:admin_profile', args=[user.id])