Skip to content

Commit

Permalink
old ellipsis... (...)
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Apr 26, 2016
1 parent 16642fd commit 4c5771d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pygal/test/test_config.py
Original file line number Diff line number Diff line change
@@ -557,7 +557,7 @@ def test_classes(Chart):
chart = Chart(classes=())
assert not chart.render_pyquery().attr('class')

chart = Chart(classes=(...,))
chart = Chart(classes=(_ellipsis,))
assert chart.render_pyquery().attr('class') == 'pygal-chart'

chart = Chart(classes=('graph',))
@@ -566,8 +566,8 @@ def test_classes(Chart):
chart = Chart(classes=('pygal-chart', 'graph'))
assert chart.render_pyquery().attr('class') == 'pygal-chart graph'

chart = Chart(classes=(..., 'graph'))
chart = Chart(classes=(_ellipsis, 'graph'))
assert chart.render_pyquery().attr('class') == 'pygal-chart graph'

chart = Chart(classes=('graph', ...))
chart = Chart(classes=('graph', _ellipsis))
assert chart.render_pyquery().attr('class') == 'graph pygal-chart'

0 comments on commit 4c5771d

Please sign in to comment.