Ejemplo n.º 1
0
 def test_applies_to_route(self, data):
     rate, route, expect = data
     self.assertEqual(governor.applies_to(rate, [], route), expect)
Ejemplo n.º 2
0
 def test_applies_to_route(self, data):
     rate, route, expect = data
     self.assertEqual(governor.applies_to(rate, [], route), expect)
Ejemplo n.º 3
0
 def test_applies_to_method(self, data):
     rate, method, expect = data
     self.assertEqual(governor.applies_to(rate, method, ""), expect)
Ejemplo n.º 4
0
 def test_applies_to_method(self, data):
     rate, method, expect = data
     self.assertEqual(governor.applies_to(rate, method, ""), expect)