Exemplo n.º 1
0
 def test_check_arguments(self):
     message = "got an unexpected keyword argument 'not_existing'"
     with self.assertRaisesRegex(TypeError, message):
         asynctest.fail_on(foo=True, not_existing=True)
Exemplo n.º 2
0
 def test_check_arguments(self):
     message = "got an unexpected keyword argument 'not_existing'"
     with self.assertRaisesRegex(TypeError, message):
         asynctest.fail_on(foo=True, not_existing=True)