Commit 01feb8aa authored by Romain Bignon's avatar Romain Bignon
Browse files

add checks on backends tests

parent 3ca779c8
#!/usr/bin/env python
from weboob.core.modules import ModulesLoader
import weboob.backends
import os
loader = ModulesLoader()
......@@ -8,3 +10,10 @@
backends_without_icons = [name for name, backend in loader.loaded.iteritems() if backend.icon_path is None]
if backends_without_icons:
print 'Backends without icons: %s' % backends_without_icons
backends_without_tests = []
for name, backend in loader.loaded.iteritems():
if not os.path.exists(os.path.join(weboob.backends.__path__[0], name, '')):
if backends_without_tests:
print 'Backends without tests: %s' % backends_without_tests
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment