Updating concept example

This commit is contained in:
Roman Mogilatov 2015-08-05 17:33:38 +03:00
parent d286b2565c
commit 3c7e7a8434

View File

@ -64,6 +64,7 @@ assert a1.db is a2.db is b1.db is b2.db is Catalog.database()
@inject(KwArg('b', Catalog.object_b_factory)) @inject(KwArg('b', Catalog.object_b_factory))
@inject(KwArg('database', Catalog.database)) @inject(KwArg('database', Catalog.database))
def example(a, b, database): def example(a, b, database):
"""Example callback."""
assert a.db is b.db is database is Catalog.database() assert a.db is b.db is database is Catalog.database()