Exemple #1
0
 def test_adapter_use_chaining(self):
     adapter = SimpleAdapter()
     adapter.use(CallCountingMiddleware()).use(CallCountingMiddleware())
Exemple #2
0
 def test_adapter_single_use(self):
     adapter = SimpleAdapter()
     adapter.use(CallCountingMiddleware())