Exemplo n.º 1
0
 def setup_method(self, method):
     super(ObjectTankTestCase, self).setup_method(method)
     context.objects = None
     self.object_tank = ObjectsTank()
Exemplo n.º 2
0
 def teardown_method(self, method):
     self.object_tank = None
     context.objects = ObjectsTank()
     super(ObjectTankTestCase, self).teardown_method(method)
Exemplo n.º 3
0
 def _setup_object_tank(self):
     from amplify.agent.tanks.objects import ObjectsTank
     self.objects = ObjectsTank()
     self.top_object = self.objects.root_object
     self.top_object_id = self.objects.root_id