Browse Source

Fix test as the tooltip is no more included

pull/242/head
Florian Mounier 10 years ago
parent
commit
10fb856e42
  1. 1
      docs/changelog.rst
  2. 4
      pygal/test/test_graph.py

1
docs/changelog.rst

@ -34,6 +34,7 @@ Changelog
* Move ``font_size`` config to style
* Add ``font_family`` for various elements in style
* Add ``googlefont:font`` support for style fonts
* Add ``tooltip_fancy_mode`` to revert to old tooltips
1.7.0
=====

4
pygal/test/test_graph.py

@ -400,9 +400,9 @@ def test_labels_with_links(Chart):
if isinstance(chart, BaseMap):
# No country is found in this case so:
assert len(links) == 4 # 3 links and 1 tooltip
assert len(links) == 3
else:
assert len(links) == 8 # 7 links and 1 tooltip
assert len(links) == 7
def test_sparkline(Chart, datas):

Loading…
Cancel
Save