summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-07-06 14:24:44 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-08-05 10:45:03 -0700
commitb081ca169acb6230e9ae71a8d446f5b300c77509 (patch)
treeea02f247931ca7e8a00be30e951f18172f8378ca /unittests
parent79822310de2839e606eec18893924bc414a6dfa6 (diff)
unittests: port opencv_tests to pytest
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r--unittests/framework/test/test_opencv.py (renamed from unittests/opencv_tests.py)8
1 files changed, 3 insertions, 5 deletions
diff --git a/unittests/opencv_tests.py b/unittests/framework/test/test_opencv.py
index ea603626c..c804c0bae 100644
--- a/unittests/opencv_tests.py
+++ b/unittests/framework/test/test_opencv.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2014 Intel Corporation
+# Copyright (c) 2014, 2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@@ -18,17 +18,15 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-""" Module for testing opencv """
+"""Module for testing opencv."""
from __future__ import (
absolute_import, division, print_function, unicode_literals
)
-from . import utils
from framework.test import OpenCVTest
-@utils.nose.no_error
-def test_initialize_opencvtest():
+def test_initialize():
"""test.opencv.OpenCVTest: Class initializes"""
OpenCVTest('test_prog', 'testname')