From dc416f5f4910ba9c8d80efdcc68e0717123d906e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 27 Sep 2011 15:43:54 +0200 Subject: [PATCH] pass function, not return :-) Signed-off-by: Nico Schottelius --- test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.py b/test.py index 908fad5e..44068d52 100755 --- a/test.py +++ b/test.py @@ -99,7 +99,7 @@ class Config(unittest.TestCase): ]) manifest_fd.close() - self.assertRaises(cdist.Error, self.config.run_initial_manifest()) + self.assertRaises(cdist.Error, self.config.run_initial_manifest) def test_initial_manifest_parameter_added(self): manifest_fd = open(self.init_manifest, "w") @@ -109,7 +109,7 @@ class Config(unittest.TestCase): ]) manifest_fd.close() - self.assertRaises(cdist.Error, self.config.run_initial_manifest()) + self.assertRaises(cdist.Error, self.config.run_initial_manifest) def test_initial_manifest_parameter_removed(self): manifest_fd = open(self.init_manifest, "w") @@ -119,7 +119,7 @@ class Config(unittest.TestCase): ]) manifest_fd.close() - self.assertRaises(cdist.Error, self.config.run_initial_manifest()) + self.assertRaises(cdist.Error, self.config.run_initial_manifest) def test_initial_manifest_parameter_twice(self): manifest_fd = open(self.init_manifest, "w")