(cls, metadata)
| 1929 | class LifecycleTest(fixtures.MappedTest): |
| 1930 | @classmethod |
| 1931 | def define_tables(cls, metadata): |
| 1932 | Table( |
| 1933 | "data", |
| 1934 | metadata, |
| 1935 | Column( |
| 1936 | "id", Integer, primary_key=True, test_needs_autoincrement=True |
| 1937 | ), |
| 1938 | Column("data", String(30)), |
| 1939 | ) |
| 1940 | Table( |
| 1941 | "data_fetched", |
| 1942 | metadata, |
| 1943 | Column( |
| 1944 | "id", Integer, primary_key=True, test_needs_autoincrement=True |
| 1945 | ), |
| 1946 | Column("data", String(30), FetchedValue()), |
| 1947 | ) |
| 1948 | Table( |
| 1949 | "data_defer", |
| 1950 | metadata, |
| 1951 | Column( |
| 1952 | "id", Integer, primary_key=True, test_needs_autoincrement=True |
| 1953 | ), |
| 1954 | Column("data", String(30)), |
| 1955 | Column("data2", String(30)), |
| 1956 | ) |
| 1957 | |
| 1958 | @classmethod |
| 1959 | def setup_classes(cls): |
nothing calls this directly
no test coverage detected