aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/reporter/console_test.py
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-06-29 05:24:25 +0500
committerTaseer <taseer94@gmail.com>2017-06-29 21:04:03 +0500
commit0a3a3045b97eee0583de82b532880b96807bd82a (patch)
treea1e910bed36d6cfd0cdec151beee5e5e57e7a126 /tests/unit/reporter/console_test.py
parent76cb6b08ce04492bd02bec43487a82f99a0a2c5f (diff)
Integrate Report with CLI.
- Migrate fixtures to conftest to be used by multiple files Change-Id: I9a705b93189ac1f2e6fd2fc4e3f05aec7af379f1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'tests/unit/reporter/console_test.py')
-rw-r--r--tests/unit/reporter/console_test.py23
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