testing: add warning about not tested resources

This commit is contained in:
Przemyslaw Kaminski 2015-07-07 12:07:18 +02:00
parent e2249893df
commit 72e9d50125
2 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ from solar.core import resource as sresource
from solar.core.resource import assign_resources_to_nodes
from solar.core import signals
from solar.core.tags_set_parser import Expression
from solar.core import virtual_resource as vr
from solar.core import testing
from solar.core import virtual_resource as vr
from solar.interfaces.db import get_db
# NOTE: these are extensions, they shouldn't be imported here

View File

@ -16,7 +16,7 @@ def test_all():
script_path = os.path.join(r.metadata['base_path'], 'test.py')
if not os.path.exists(script_path):
continue
print 'WARNING: resource {} has no tests'.format(name)
print 'File {} found'.format(script_path)