Example #1
0
 def test_free_method(self):
     self.assertEqual(get_args_count(free_method), 1)
Example #2
0
 def test_static_method(self):
     self.assertEqual(get_args_count(self.method3), 1)
Example #3
0
 def test_class_method(self):
     self.assertEqual(get_args_count(self.method4), 1)
Example #4
0
 def test_with_params(self):
     self.assertEqual(get_args_count(self.method2), 1)