Current Path: > > opt > hc_python > lib > python3.12 > site-packages > alembic > > testing > > suite
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 288 bytes | April 04 2025 08:02:35. | |
_autogen_fixtures.py | File | 9880 bytes | April 04 2025 08:02:35. | |
test_autogen_comments.py | File | 6283 bytes | April 04 2025 08:02:35. | |
test_autogen_computed.py | File | 4126 bytes | April 04 2025 08:02:35. | |
test_autogen_diffs.py | File | 8394 bytes | April 04 2025 08:02:35. | |
test_autogen_fks.py | File | 32927 bytes | April 04 2025 08:02:35. | |
test_autogen_identity.py | File | 5824 bytes | April 04 2025 08:02:35. | |
test_environment.py | File | 11877 bytes | April 04 2025 08:02:35. | |
test_op.py | File | 1343 bytes | April 04 2025 08:02:35. |
"""Test against the builders in the op.* module.""" from sqlalchemy import Column from sqlalchemy import event from sqlalchemy import Integer from sqlalchemy import String from sqlalchemy import Table from sqlalchemy.sql import text from ...testing.fixtures import AlterColRoundTripFixture from ...testing.fixtures import TestBase @event.listens_for(Table, "after_parent_attach") def _add_cols(table, metadata): if table.name == "tbl_with_auto_appended_column": table.append_column(Column("bat", Integer)) class BackendAlterColumnTest(AlterColRoundTripFixture, TestBase): __backend__ = True def test_rename_column(self): self._run_alter_col({}, {"name": "newname"}) def test_modify_type_int_str(self): self._run_alter_col({"type": Integer()}, {"type": String(50)}) def test_add_server_default_int(self): self._run_alter_col({"type": Integer}, {"server_default": text("5")}) def test_modify_server_default_int(self): self._run_alter_col( {"type": Integer, "server_default": text("2")}, {"server_default": text("5")}, ) def test_modify_nullable_to_non(self): self._run_alter_col({}, {"nullable": False}) def test_modify_non_nullable_to_nullable(self): self._run_alter_col({"nullable": False}, {"nullable": True})
SILENT KILLER Tool