summaryrefslogtreecommitdiffstats
path: root/tests/tests.py
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-05-12 10:28:25 -0400
committerJim Meyering <jim@meyering.net>2006-05-12 10:28:25 -0400
commit71bb8fbc7df46d7fa281e4399005b736f6a80826 (patch)
tree14f90d402480277f7f3ebf291d8cd3bb7b2763c3 /tests/tests.py
parentfc2bae004b0c6763e7262090ee73a720bf8159cd (diff)
downloadthird_party-cobbler-71bb8fbc7df46d7fa281e4399005b736f6a80826.tar.gz
third_party-cobbler-71bb8fbc7df46d7fa281e4399005b736f6a80826.tar.xz
third_party-cobbler-71bb8fbc7df46d7fa281e4399005b736f6a80826.zip
Remove api_call indirection and exception handling layer since tests had already been modified to use failUnlessRaises.
Diffstat (limited to 'tests/tests.py')
-rw-r--r--tests/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.py b/tests/tests.py
index 4d670ba..85ed0b9 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -43,7 +43,7 @@ class BootTest(unittest.TestCase):
self.fk_kernel2 = os.path.join(self.topdir, FAKE_KERNEL2)
self.fk_kernel3 = os.path.join(self.topdir, FAKE_KERNEL3)
- self.api = api.BootAPI(True) # contain_exceptions
+ self.api = api.BootAPI()
self.hostname = os.uname()[1]
create = [ self.fk_initrd, self.fk_initrd2, self.fk_initrd3,
self.fk_kernel, self.fk_kernel2, self.fk_kernel3 ]