testing: add warning about not tested resources
This commit is contained in:
parent
e2249893df
commit
72e9d50125
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user