Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- placement.tests.functional.db.test_migrations.TestMigrationsSQLite.test_consumer_types_422ece571366
- ---------------------------------------------------------------------------------------------------
- Captured traceback:
- ~~~~~~~~~~~~~~~~~~~
- Traceback (most recent call last):
- File "/home/vagrant/placement/placement/tests/functional/db/test_migrations.py", line 232, in test_consumer_types_422ece571366
- self.migration_api.upgrade('422ece571366')
- File "/home/vagrant/placement/placement/db/sqlalchemy/migration.py", line 67, in upgrade
- alembic.command.upgrade(config, revision)
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/command.py", line 294, in upgrade
- script.run_env()
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/script/base.py", line 490, in run_env
- util.load_python_file(self.dir, "env.py")
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 97, in load_python_file
- module = load_module_py(module_id, path)
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/util/compat.py", line 184, in load_module_py
- spec.loader.exec_module(module)
- File "<frozen importlib._bootstrap_external>", line 783, in exec_module
- File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
- File "/home/vagrant/placement/placement/db/sqlalchemy/alembic/env.py", line 65, in <module>
- run_migrations_online()
- File "/home/vagrant/placement/placement/db/sqlalchemy/alembic/env.py", line 59, in run_migrations_online
- context.run_migrations()
- File "<string>", line 8, in run_migrations
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/runtime/environment.py", line 813, in run_migrations
- self.get_context().run_migrations(**kw)
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/runtime/migration.py", line 561, in run_migrations
- step.migration_fn(**kw)
- File "/home/vagrant/placement/placement/db/sqlalchemy/alembic/versions/422ece571366_add_consumer_types_table.py", line 69, in upgrade
- batch_op.add_column(
- File "<string>", line 3, in add_column
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/alembic/operations/ops.py", line 1817, in batch_add_column
- if insert_before:
- File "/home/vagrant/placement/.tox/py38/lib/python3.8/site-packages/sqlalchemy/sql/elements.py", line 577, in __bool__
- raise TypeError("Boolean value of this clause is not defined")
- TypeError: Boolean value of this clause is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement