changed current_app import from flask to app
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from flask import current_app
|
from app import
|
||||||
|
|
||||||
from app import create_app, db
|
from app import create_app, db, current_app
|
||||||
|
|
||||||
|
|
||||||
class BasicTestCase(unittest.TestCase):
|
class BasicTestCase(unittest.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user