diff --git a/data/model/user.py b/data/model/user.py index 6f2f14f64..db5d2f587 100644 --- a/data/model/user.py +++ b/data/model/user.py @@ -2,7 +2,7 @@ import bcrypt import logging import json import uuid -from flask.ext.login import UserMixin +from flask_login import UserMixin from peewee import JOIN_LEFT_OUTER, IntegrityError, fn from uuid import uuid4 diff --git a/test/fixtures.py b/test/fixtures.py index 07128a0c7..37c6f1441 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -3,7 +3,7 @@ import os import pytest import shutil from flask import Flask, jsonify -from flask.ext.login import LoginManager +from flask_login import LoginManager from peewee import SqliteDatabase from app import app as application diff --git a/test/test_storageproxy.py b/test/test_storageproxy.py index 19065cb09..174c3c854 100644 --- a/test/test_storageproxy.py +++ b/test/test_storageproxy.py @@ -3,7 +3,7 @@ import requests import unittest from flask import Flask -from flask.ext.testing import LiveServerTestCase +from flask_testing import LiveServerTestCase from initdb import setup_database_for_testing, finished_database_for_testing from storage import Storage diff --git a/util/config/validators/test/conftest.py b/util/config/validators/test/conftest.py index 3e7d37fa5..c32009d02 100644 --- a/util/config/validators/test/conftest.py +++ b/util/config/validators/test/conftest.py @@ -3,7 +3,7 @@ import os import pytest import shutil from flask import Flask, jsonify -from flask.ext.login import LoginManager +from flask_login import LoginManager from peewee import SqliteDatabase from app import app as application