commit | 246201835f58922d61339f11445e0215036d77da | [log] [tgz] |
---|---|---|
author | Clark Boylan <clark.boylan@gmail.com> | Mon Apr 24 10:11:51 2017 -0700 |
committer | Clark Boylan <clark.boylan@gmail.com> | Tue Apr 25 10:14:41 2017 -0700 |
tree | dfae3a98b424748c6b785cc0e34e8fc78f1b7973 | |
parent | fa651805412941df53c8ea2349d29e0241ace662 [diff] [blame] |
Use current class name on super call In order to get the method resolution correct for setUp in the tests we need to call super on the current Class not the parent. Change-Id: I1cf7f45c107a1fad2b70e3b18dc23b8bcc6c4b33
diff --git a/tests/nodepool/test_nodepool_integration.py b/tests/nodepool/test_nodepool_integration.py index 2c9a9b3..a0f0498 100644 --- a/tests/nodepool/test_nodepool_integration.py +++ b/tests/nodepool/test_nodepool_integration.py
@@ -28,7 +28,7 @@ # fake scheduler. def setUp(self): - super(BaseTestCase, self).setUp() + super(TestNodepoolIntegration, self).setUp() self.zk = zuul.zk.ZooKeeper() self.zk.connect('localhost:2181')