Exemplo n.º 1
0
 def test_set_current(self):
     wb2 = Workbook(app_visible=False, app_target=APP_TARGET)
     assert_equal(Workbook.current().xl_workbook, wb2.xl_workbook)
     self.wb.set_current()
     assert_equal(Workbook.current().xl_workbook, self.wb.xl_workbook)
     wb2.close()
Exemplo n.º 2
0
 def test_current(self):
     assert_equal(self.wb.xl_workbook, Workbook.current().xl_workbook)
Exemplo n.º 3
0
 def test_current(self):
     assert_equal(self.wb.xl_workbook, Workbook.current().xl_workbook)
Exemplo n.º 4
0
 def test_set_current(self):
     wb2 = Workbook()
     assert_equal(Workbook.current().xl_workbook, wb2.xl_workbook)
     self.wb.set_current()
     assert_equal(Workbook.current().xl_workbook, self.wb.xl_workbook)
     wb2.close()
Exemplo n.º 5
0
 def test_set_current(self):
     wb2 = Workbook(app_visible=False, app_target=APP_TARGET)
     assert_equal(Workbook.current().xl_workbook, wb2.xl_workbook)
     self.wb.set_current()
     assert_equal(Workbook.current().xl_workbook, self.wb.xl_workbook)
     wb2.close()