diff options
Diffstat (limited to 'tests/unit/reporter/console_test.py')
-rw-r--r-- | tests/unit/reporter/console_test.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/unit/reporter/console_test.py b/tests/unit/reporter/console_test.py index 11fb3f71..64e32c4e 100644 --- a/tests/unit/reporter/console_test.py +++ b/tests/unit/reporter/console_test.py @@ -8,7 +8,6 @@ ############################################################################## import pytest -from os import path from qtip.reporter.console import ConsoleReporter @@ -18,27 +17,5 @@ def console_reporter(): return ConsoleReporter({}) -@pytest.fixture -def result_path(): - result = path.join(path.dirname(__file__), path.pardir, path.pardir, - 'data/reporter') - return result - - def test_constructor(console_reporter): assert isinstance(console_reporter, ConsoleReporter) - - -@pytest.mark.parametrize(['template_name'], [ - ('dhrystone',), - ('whetstone',), - ('dpi',), - ('ramspeed',), - ('ssl',) -]) -def test_templates(template_name, console_reporter, result_path): - """ Test dhrystone report""" - - result = console_reporter.render(template_name, result_path) - for line in result.split('\n'): - assert len(line) <= 80 |