Exemplo n.º 1
0
class RTDBTest(unittest.TestCase):

    def setUp(self):
        self.db = RTDB()
        self.db.open(HOST, PORT)

    def tearDown(self):
        self.db.clear()
        self.db.close()
        self.db = None
Exemplo n.º 2
0
 def setUp(self):
     self.db = RTDB()
     self.db.open(HOST, PORT)