Exemplo n.º 1
0
 def test_adapter_use_chaining(self):
     adapter = SimpleAdapter()
     adapter.use(CallCountingMiddleware()).use(CallCountingMiddleware())
Exemplo n.º 2
0
 def test_adapter_single_use(self):
     adapter = SimpleAdapter()
     adapter.use(CallCountingMiddleware())