Fix inheritance problem in test/hook.py. 30/16730/6
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 9 Jan 2019 04:37:40 +0000 (20:37 -0800)
committerOle Trøan <otroan@employees.org>
Mon, 4 Feb 2019 15:37:38 +0000 (15:37 +0000)
commit895e2f850659ccc2a644d0d955c2f4313263f106
tree8b3315ab6d78323f7372940fcde44ebdb71f8547
parent2baf9422cf42e6f3ca5841bacf1a5424e6db8bea
Fix inheritance problem in test/hook.py.

Subclasses cannot modify the signature of their constructors.

     def __init__(self, test):
-        super(PollHook, self).__init__(test.logger)
+        super(PollHook, self).__init__(test)

Change-Id: I764df8871128f9198a03fac4ec2f45528547467a
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/hook.py
test/vpp_papi_provider.py