summaryrefslogtreecommitdiff
path: root/test/gtest_list_tests_unittest.py
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-17 21:06:27 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-06-17 21:06:27 +0000
commit6d63ee6720540cadb8919037c5d41a6413cc9101 (patch)
tree1dd721d45ddd731134dda23f8368781979dc0b09 /test/gtest_list_tests_unittest.py
parent16b967aa9c80cf8606c65d375865b77a6bcad255 (diff)
downloadgoogletest-6d63ee6720540cadb8919037c5d41a6413cc9101.tar.gz
Implements a subset of TR1 tuple needed by gtest and gmock (by Zhanyong Wan); cleaned up the Python tests (by Vlad Losev); made run_tests.py invokable from any directory (by Vlad Losev).
git-svn-id: http://googletest.googlecode.com/svn/trunk@267 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'test/gtest_list_tests_unittest.py')
-rwxr-xr-xtest/gtest_list_tests_unittest.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/gtest_list_tests_unittest.py b/test/gtest_list_tests_unittest.py
index 3d006df..7dca0b8 100755
--- a/test/gtest_list_tests_unittest.py
+++ b/test/gtest_list_tests_unittest.py
@@ -39,11 +39,8 @@ Google Test) the command line flags.
__author__ = 'phanna@google.com (Patrick Hanna)'
-import gtest_test_utils
import os
-import re
-import sys
-import unittest
+import gtest_test_utils
# Constants.
@@ -105,7 +102,7 @@ def Run(command):
# The unit test.
-class GTestListTestsUnitTest(unittest.TestCase):
+class GTestListTestsUnitTest(gtest_test_utils.TestCase):
"""Tests using the --gtest_list_tests flag to list all tests."""
def RunAndVerify(self, flag_value, expected_output, other_flag):