~ubuntu-branches/ubuntu/wily/openpyxl/wily

« back to all changes in this revision

Viewing changes to openpyxl/tests/test_workbook.py

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-04-12 11:20:11 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20120412112011-rsgvbh5353dfiwz6
Tags: 1.5.8-1
* Fresh upstream release
  - fixes unittests failures in upcoming pandas 0.7.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    new_sheet = wb.create_sheet(0)
49
49
    eq_(new_sheet, wb.worksheets[0])
50
50
 
 
51
def test_create_sheet_with_name():
 
52
    wb = Workbook()
 
53
    new_sheet = wb.create_sheet(0, title='LikeThisName')
 
54
    eq_(new_sheet, wb.worksheets[0])
 
55
 
51
56
def test_add_correct_sheet():
52
57
    wb = Workbook()
53
58
    new_sheet = wb.create_sheet(0)