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

Unified Diff: testing_support/git/unittest_helpers.py

Issue 424223002: Add auto_stub mocking library. (Closed) Base URL: https://chromium.googlesource.com/infra/testing/testing_support@master
Patch Set: Created 6 years, 5 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 | « testing_support/auto_stub.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing_support/git/unittest_helpers.py
diff --git a/testing_support/git/unittest_helpers.py b/testing_support/git/unittest_helpers.py
index 0ac27bd6eaff996e6e29dbd9a9d7d3a18d0ff283..94a720efa1e5537aafc998b8b94970d1c97fe261 100644
--- a/testing_support/git/unittest_helpers.py
+++ b/testing_support/git/unittest_helpers.py
@@ -2,14 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import unittest
-
+from testing_support import auto_stub
from testing_support.git.repo import GitRepo
from testing_support.git.schema import GitRepoSchema
-class GitRepoSchemaTestBase(unittest.TestCase):
+class GitRepoSchemaTestBase(auto_stub.TestCase):
"""A TestCase with a built-in GitRepoSchema.
Expects a class variable REPO_SCHEMA to be a GitRepoSchema string in the form
« no previous file with comments | « testing_support/auto_stub.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698