From 10fb856e4270975e522b1afe6a2a6ec0fbe6ab61 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Fri, 17 Jul 2015 17:18:38 +0200 Subject: [PATCH] Fix test as the tooltip is no more included --- docs/changelog.rst | 1 + pygal/test/test_graph.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ae96f73..d947906 100644 --- a/docs/changelog.rst +++ b/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 ===== diff --git a/pygal/test/test_graph.py b/pygal/test/test_graph.py index a7d6e15..ea8c972 100644 --- a/pygal/test/test_graph.py +++ b/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):