17 lines
645 B
Diff
17 lines
645 B
Diff
diff --git a/pygal/test/conftest.py b/pygal/test/conftest.py
|
|
index ea36010..6fe40cb 100644
|
|
--- a/pygal/test/conftest.py
|
|
+++ b/pygal/test/conftest.py
|
|
@@ -48,9 +48,9 @@ def pytest_generate_tests(metafunc):
|
|
if hasattr(sys, 'pypy_version_info'):
|
|
etree.to_etree()
|
|
|
|
- if "Chart" in metafunc.funcargnames:
|
|
+ if "Chart" in metafunc.fixturenames:
|
|
metafunc.parametrize("Chart", pygal.CHARTS)
|
|
- if "datas" in metafunc.funcargnames:
|
|
+ if "datas" in metafunc.fixturenames:
|
|
metafunc.parametrize(
|
|
"datas", [[("Serie %d" % i, get_data(i)) for i in range(s)]
|
|
for s in (5, 1, 0)]
|
|
--
|