Ignore warning from a known issue in flask-sqlalchemy in tests

flask-sqlalchemy tries to get all attributes of mixin class and
SQLAlchemy warns that it's not a good thing to do.

See https://github.com/mitsuhiko/flask-sqlalchemy/issues/349 for
details.

Change-Id: I7973fc2793fc74787b26f680cf596363f618900c
This commit is contained in:
Yuriy Taraday 2016-03-23 11:55:04 +03:00
parent c2e6d24bbc
commit 8d36c7005f

View File

@ -8,6 +8,7 @@ usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=ignore:Unmanaged access of declarative attribute __tablename__ from non-mapped class ModelMixin
OS_TEST_DBAPI_ADMIN_CONNECTION=mysql+pymysql://openstack_citest:openstack_citest@localhost/;postgresql://openstack_citest:openstack_citest@localhost/postgres;sqlite:///testdb
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'