We were skipping a level in the inheritance chain, which had no effect
in this case (no .setUps or .tearDowns were missed) but it would be
confusing if the parents ever changed.
Note: in python 3, you just call super() with no args, and it works
out the right thing.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
"""Test for password validation in domain provision subcommand"""
def setUp(self):
- super(SambaToolCmdTest, self).setUp()
+ super(ProvisionPasswordTestCase, self).setUp()
self.tempsambadir = os.path.join(self.tempdir, "samba")
os.mkdir(self.tempsambadir)
self.assertCmdSuccess(result, out, err)
def tearDown(self):
- super(SambaToolCmdTest, self).tearDown()
+ super(ProvisionPasswordTestCase, self).tearDown()
shutil.rmtree(self.tempsambadir)