def setUp(self):
        create_admin_user()

        self.path = BASE_DIR + '/main/static/main/css/active.css'
        os.remove(self.path)

        self.url = reverse('main:select_theme')
    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_admin_user()
        create_librarian_user()
        create_student_user()

        self.url = reverse('main:index')
    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])