Skip to content

Commit

Permalink
bump coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyakosmos committed Oct 15, 2019
1 parent f7f66d9 commit b2285b2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,27 @@ class Sub2:
sub = sub_command(Sub)

args = parse_args(Args, 'sub sub2')
table = make_table(args, cols=None)
assert len(table.splitlines()[0]) < 40

table = make_table(args, cols='auto')
assert len(table.splitlines()[0]) > 40

table = make_table(args, cols=1)
assert len(table.splitlines()[0]) < 40

table = make_table(args, cols=3)
assert len(table.splitlines()[0]) > 40

table = make_table(args, cols='sub')
assert len(table.splitlines()[0]) > 40

table = make_table(args, cols='sub-auto')
assert len(table.splitlines()[0]) > 40

table = make_table(args, cols='sub-3')
assert len(table.splitlines()[0]) > 40

table = make_table(args, preset='fancy')
assert len(table.splitlines()[0]) > 40

Expand Down

0 comments on commit b2285b2

Please sign in to comment.