188: Added unit tests for public.Object.finalize() method

This commit is contained in:
Jason Gerard DeRose
2008-08-22 22:49:56 +00:00
parent af52671e13
commit c646dfddde
2 changed files with 69 additions and 1 deletions

View File

@@ -289,7 +289,10 @@ class Attribute(plugable.Plugin):
__obj = None
def __init__(self):
m = re.match('^([a-z][a-z0-9]+)_([a-z][a-z0-9]+)$', self.__class__.__name__)
m = re.match(
'^([a-z][a-z0-9]+)_([a-z][a-z0-9]+)$',
self.__class__.__name__
)
assert m
self.__obj_name = m.group(1)
self.__attr_name = m.group(2)