Replace getargspec with getfullargspec
inspect.getargspec() is deprecated since py3 [1] https://docs.python.org/3/library/inspect.html#inspect.getargspec Change-Id: I2ae460a7a7f01d7346d5e51ec6ccb44c22d0c53e
This commit is contained in:
parent
f6d147e031
commit
2c2a1f4de7
@ -217,5 +217,5 @@ class CLITestV20ExtensionJSONChildResource(test_cli20.CLITestV20Base):
|
||||
self.client.delete_parents_child,
|
||||
self.client.create_parents_child)
|
||||
for method in methods:
|
||||
argspec = inspect.getargspec(method)
|
||||
argspec = inspect.getfullargspec(method)
|
||||
self.assertIn("parent_id", argspec.args)
|
||||
|
Loading…
Reference in New Issue
Block a user