summaryrefslogtreecommitdiff
path: root/test/ext
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext')
-rw-r--r--test/ext/test_extendedattr.py2
-rw-r--r--test/ext/test_horizontal_shard.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/test/ext/test_extendedattr.py b/test/ext/test_extendedattr.py
index 352b6b241..c7627c8b2 100644
--- a/test/ext/test_extendedattr.py
+++ b/test/ext/test_extendedattr.py
@@ -485,5 +485,5 @@ class ExtendedEventsTest(fixtures.ORMTest):
register_class(A)
manager = instrumentation.manager_of_class(A)
- assert issubclass(manager.dispatch._parent_cls.__dict__['dispatch'].events, MyEvents)
+ assert issubclass(manager.dispatch._events, MyEvents)
diff --git a/test/ext/test_horizontal_shard.py b/test/ext/test_horizontal_shard.py
index 99879a74d..0af33ecde 100644
--- a/test/ext/test_horizontal_shard.py
+++ b/test/ext/test_horizontal_shard.py
@@ -235,8 +235,6 @@ class AttachedFileShardTest(ShardTest, fixtures.TestBase):
def _init_dbs(self):
db1 = testing_engine('sqlite://', options={"execution_options":
{"shard_id": "shard1"}})
- assert db1._has_events
-
db2 = db1.execution_options(shard_id="shard2")
db3 = db1.execution_options(shard_id="shard3")
db4 = db1.execution_options(shard_id="shard4")