File: test_examples.py

package info (click to toggle)
sqlalchemy 2.0.43%2Bds1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 26,624 kB
  • sloc: python: 413,648; makefile: 231; sh: 7
file content (31 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
import sys

from sqlalchemy.testing import fixtures


here = os.path.dirname(__file__)
sqla_base = os.path.normpath(os.path.join(here, "..", ".."))


sys.path.insert(0, sqla_base)

test_versioning = __import__(
    "examples.versioned_history.test_versioning"
).versioned_history.test_versioning


class VersionedRowsTestLegacyBase(
    test_versioning.TestVersioning,
    fixtures.RemoveORMEventsGlobally,
    fixtures.TestBase,
):
    pass


class VersionedRowsTestNewBase(
    test_versioning.TestVersioningNewBase,
    fixtures.RemoveORMEventsGlobally,
    fixtures.TestBase,
):
    pass