Commits

David Stanek  committed 3de0f6f

tweaks to the assist test to make it use the generic interface

  • Participants
  • Parent commits bcfebe9

Comments (0)

Files changed (1)

File tests/test_assist.py

 class Worker(object):
     """Uses services to do real work."""
 
-    @assisted_inject(c_service=CustomerService, o_service=OrderService)
+    @assisted_inject(c_service=IService, o_service=IService)
     @annotate(c_service="customer", o_service="order")
     def __init__(self, c_service, o_service, name, date):
         self.c_service = c_service