Open azdonald opened 5 years ago
I get the following error when I run python setup.py test
request = <SubRequest 'app' for >
@pytest.fixture() def app(request): app = Flask(__name__) app.response_class = Response app.debug = True app.config['SECRET_KEY'] = 'secret' app.config['TESTING'] = True app.config['LOGIN_DISABLED'] = False app.config['WTF_CSRF_ENABLED'] = False app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['SECURITY_PASSWORD_SALT'] = 'salty' for opt in ['changeable', 'recoverable', 'registerable', 'trackable', 'passwordless', 'confirmable']: app.config['SECURITY_' + opt.upper()] = opt in request.keywords if 'settings' in request.keywords:
for key, value in request.keywords['settings'].kwargs.items(): E AttributeError: 'bool' object has no attribute 'kwargs'
for key, value in request.keywords['settings'].kwargs.items():
E AttributeError: 'bool' object has no attribute 'kwargs'
tests/conftest.py:59: AttributeError
I get the following error when I run python setup.py test
request = <SubRequest 'app' for>
tests/conftest.py:59: AttributeError