From da686174480de4cb3b881e3d42bbc8d68e9dfb43 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 27 Jan 2010 12:41:18 -0500 Subject: Fix StorageTestCase.classname -> ._classname() Introduced in wking@drexel.edu-20100127152727-nu58o4g6jea5or7w --- libbe/storage/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbe/storage/base.py') diff --git a/libbe/storage/base.py b/libbe/storage/base.py index 423f141..ade6587 100644 --- a/libbe/storage/base.py +++ b/libbe/storage/base.py @@ -569,12 +569,12 @@ if TESTING == True: def failIf(self, expr, msg=None): "Fail the test if the expression is true." if expr: raise self.failureException, \ - '(%s) %s' % (self.classname(), msg) + '(%s) %s' % (self._classname(), msg) def failUnless(self, expr, msg=None): """Fail the test unless the expression is true.""" if not expr: raise self.failureException, \ - '(%s) %s' % (self.classname(), msg) + '(%s) %s' % (self._classname(), msg) def setUp(self): """Set up test fixtures for Storage test case.""" -- cgit