Fix old-style flask imports to silence deprecation warnings.

This commit is contained in:
Jake Moshenko 2017-04-04 23:29:22 -04:00
parent a0817bfd59
commit c7241911a5
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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