Ejemplo n.º 1
0
class SimpleDomainTestCase(TestCase):
    def setUp(self):
        self.domains = domains
        self.domain_manager = DomainManager(self.domains)
        self.conn = self.domain_manager.connect()

    def tearDown(self):
        if self.conn.isAlive():
            self.domain_manager.close()
Ejemplo n.º 2
0
 def setUp(self):
     self.domains = domains
     self.domain_manager = DomainManager(self.domains)
     self.conn = self.domain_manager.connect()