コード例 #1
0
ファイル: test_xlwings.py プロジェクト: surfmaverick/xlwings
 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()
コード例 #2
0
ファイル: test_xlwings.py プロジェクト: surfmaverick/xlwings
 def test_current(self):
     assert_equal(self.wb.xl_workbook, Workbook.current().xl_workbook)
コード例 #3
0
ファイル: test_xlwings.py プロジェクト: ChinaQuants/xlwings
 def test_current(self):
     assert_equal(self.wb.xl_workbook, Workbook.current().xl_workbook)
コード例 #4
0
ファイル: test_xlwings.py プロジェクト: Gilles86/xlwings
 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()
コード例 #5
0
ファイル: test_xlwings.py プロジェクト: liubo1999/xlwings
 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()