Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: gm/rebaseline_server/base_unittest.py

Issue 856103002: Revert "Revert "delete old things!"" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/rebaseline_server/__init__.py ('k') | gm/rebaseline_server/column.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/base_unittest.py
diff --git a/gm/rebaseline_server/base_unittest.py b/gm/rebaseline_server/base_unittest.py
deleted file mode 100755
index b8a653866b1479c7da0d25f3553f2c667b067dee..0000000000000000000000000000000000000000
--- a/gm/rebaseline_server/base_unittest.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/python
-
-"""
-Copyright 2014 Google Inc.
-
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
-
-A wrapper around the standard Python unittest library, adding features we need
-for various unittests within this directory.
-"""
-
-# System-level imports.
-import os
-import sys
-
-PARENT_DIR = os.path.abspath(os.path.dirname(__file__))
-TRUNK_DIR = os.path.abspath(os.path.join(PARENT_DIR, os.pardir, os.pardir))
-
-# Import the superclass base_unittest module from the tools dir.
-#
-# TODO(epoger): If I don't put this at the beginning of sys.path, the import of
-# tests.base_unittest fails. That's bad. I need to come up with a cleaner way
-# of doing this... I think this will involve changing how we import the "boto"
-# library in gs_utils.py, within the common repo.
-TOOLS_DIR = os.path.join(TRUNK_DIR, 'tools')
-if TOOLS_DIR != sys.path[0]:
- sys.path.insert(0, TOOLS_DIR)
-import tests.base_unittest as superclass_module
-
-
-class TestCase(superclass_module.TestCase):
-
- def __init__(self, *args, **kwargs):
- super(TestCase, self).__init__(*args, **kwargs)
- # Some of the tests within this package want their output validated,
- # so we declare where the expected and actual output will be.
- self._testdata_dir = os.path.join(PARENT_DIR, 'testdata')
-
-def main(*args, **kwargs):
- superclass_module.main(*args, **kwargs)
« no previous file with comments | « gm/rebaseline_server/__init__.py ('k') | gm/rebaseline_server/column.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698