From 2a78e82f5eb82c3832231e36957110044b0783b3 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 6 Jan 2014 18:33:19 +0000 Subject: create gm/rebaseline_server/test_all.py Uses proper Python unittest framework to launch all unittests within the directory. NOTRY=True R=rmistry@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/125253002 git-svn-id: http://skia.googlecode.com/svn/trunk@12915 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/rebaseline_server/results_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gm/rebaseline_server/results_test.py') diff --git a/gm/rebaseline_server/results_test.py b/gm/rebaseline_server/results_test.py index e5f969c5ea..8263f58920 100755 --- a/gm/rebaseline_server/results_test.py +++ b/gm/rebaseline_server/results_test.py @@ -8,10 +8,6 @@ found in the LICENSE file. Test results.py -TODO(epoger): Launch this (and other unittests within this dir) automatically -on the housekeeper bot, but first make sure it works properly after having been -checked out (from both git and svn) - TODO(epoger): Create a command to update the expected results (in OUTPUT_DIR_EXPECTED) when appropriate. For now, you should: 1. examine the results in OUTPUT_DIR_ACTUAL and make sure they are ok @@ -67,6 +63,10 @@ class ResultsTest(unittest.TestCase): ('found differing files between actual dir %s and expected dir %s: %s' % (self._output_dir_actual, self._output_dir_expected, different_files)) + def shortDescription(self): + """Tell unittest framework to not print docstrings for test cases.""" + return None + def test_gm(self): """Process results of a GM run with the Results object.""" results_obj = results.Results( -- cgit v1.2.3