summaryrefslogtreecommitdiff
path: root/test/orm/attributes.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-02-11 00:28:39 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-02-11 00:28:39 +0000
commitc0b5a0446bf63bdac664421f49742f1156c1911a (patch)
tree9d7822f91325d23e512e77701c9f1280d968ea20 /test/orm/attributes.py
parent90c572b513fb33cb5cd17134efb6018abc76bb1f (diff)
downloadsqlalchemy-c0b5a0446bf63bdac664421f49742f1156c1911a.tar.gz
- updated the naming scheme of the base test classes in test/testlib/testing.py;
tests extend from either TestBase or ORMTest, using additional mixins for special assertion methods as needed
Diffstat (limited to 'test/orm/attributes.py')
-rw-r--r--test/orm/attributes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/orm/attributes.py b/test/orm/attributes.py
index 4b6e5e19b..27860517c 100644
--- a/test/orm/attributes.py
+++ b/test/orm/attributes.py
@@ -13,7 +13,7 @@ ROLLBACK_SUPPORTED=False
class MyTest(object):pass
class MyTest2(object):pass
-class AttributesTest(PersistTest):
+class AttributesTest(TestBase):
def test_basic(self):
class User(object):pass
@@ -435,7 +435,7 @@ class AttributesTest(PersistTest):
assert False
-class BackrefTest(PersistTest):
+class BackrefTest(TestBase):
def test_manytomany(self):
class Student(object):pass
@@ -508,7 +508,7 @@ class BackrefTest(PersistTest):
j.port = None
self.assert_(p.jack is None)
-class DeferredBackrefTest(PersistTest):
+class DeferredBackrefTest(TestBase):
def setUp(self):
global Post, Blog, called, lazy_load
@@ -596,7 +596,7 @@ class DeferredBackrefTest(PersistTest):
called[0] = 0
lazy_load = (p1, p2, p3) = [Post("post 1"), Post("post 2"), Post("post 3")]
-class HistoryTest(PersistTest):
+class HistoryTest(TestBase):
def test_scalar(self):
class Foo(fixtures.Base):
pass