Simplify test runner by adding a new option '--mayan-apps' that

automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-03-14 23:47:40 -04:00
parent 89512be546
commit 8179c35189
33 changed files with 56 additions and 64 deletions

View File

@@ -71,8 +71,8 @@ class MayanAppConfig(apps.AppConfig):
class CommonApp(MayanAppConfig):
app_url = ''
has_tests = True
name = 'common'
test = True
verbose_name = _('Common')
def ready(self):