launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #04948
why does ZopelessDatabaseLayer claim to be untearDownable?
class ZopelessDatabaseLayer(ZopelessLayer, DatabaseLayer):
"""Testing layer for unit tests with no need for librarian.
Can be used wherever you're accustomed to using LaunchpadZopeless
or LaunchpadScript layers, but there is no need for librarian.
"""
@classmethod
@profiled
def setUp(cls):
pass
@classmethod
@profiled
def tearDown(cls):
# Signal Layer cannot be torn down fully
raise NotImplementedError
Given that the setUp is empty, why isn't the tearDown also empty?
-Rob
Follow ups