Files
mayan-edms/mayan/apps/documents/tests/test_statistics.py
Roberto Rosario 58bcf20a46 Remove tests * imports
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
2019-08-29 23:10:28 -04:00

18 lines
497 B
Python

from __future__ import unicode_literals
from mayan.apps.common.tests.base import BaseTestCase
from ..statistics import namespace
class DocumentStatisticsTestCase(BaseTestCase):
def test_namespace(self):
for statistic in namespace.statistics:
try:
statistic.execute()
except Exception as exception:
self.fail(
'Error executing: {}; {}'.format(statistic, exception)
)
raise