mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-23 15:14:49 +01:00
820 python 3 only (#1454)
* Remove Python 2 specific code * Require imports to have a proper isort-supported order * Only test/lint on Python 3 * Bump most dependencies to latest supported version
This commit is contained in:
4
tests/cache/test_cache.py
vendored
4
tests/cache/test_cache.py
vendored
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from CTFd.cache import clear_user_session, clear_all_user_sessions
|
||||
from CTFd.cache import clear_all_user_sessions, clear_user_session
|
||||
from CTFd.models import Users
|
||||
from CTFd.utils.user import is_admin, get_current_user
|
||||
from CTFd.utils.security.auth import login_user
|
||||
from CTFd.utils.user import get_current_user, is_admin
|
||||
from tests.helpers import create_ctfd, destroy_ctfd, register_user
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user