mirror of https://github.com/Kozea/pygal.git
Florian Mounier
10 years ago
2 changed files with 12 additions and 3 deletions
@ -0,0 +1,9 @@ |
|||||||
|
import pkg_resources |
||||||
|
|
||||||
|
|
||||||
|
# Load plugins tests |
||||||
|
for entry in pkg_resources.iter_entry_points('pygal.test.test_maps'): |
||||||
|
module = entry.load() |
||||||
|
for k, v in module.__dict__.items(): |
||||||
|
if k.startswith('test_'): |
||||||
|
globals()['test_maps_' + entry.name + '_' + k[5:]] = v |
Loading…
Reference in new issue