summaryrefslogtreecommitdiff
path: root/gitdb/test/performance/lib.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 11:21:36 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 11:21:36 +0100
commitff7615321ee31d981a171f7677a56a971c554059 (patch)
treec7057424c95ed246242bb4589798c2c01e8a5648 /gitdb/test/performance/lib.py
parent8b4939630a0d7362e5a6fbca052922d710a87c7e (diff)
downloadgitdb-ff7615321ee31d981a171f7677a56a971c554059.tar.gz
Applied autopep8
autopep8 -v -j 8 --max-line-length 120 --in-place --recursive
Diffstat (limited to 'gitdb/test/performance/lib.py')
-rw-r--r--gitdb/test/performance/lib.py20
1 files changed, 8 insertions, 12 deletions
diff --git a/gitdb/test/performance/lib.py b/gitdb/test/performance/lib.py
index ec45cf3..cbc52bc 100644
--- a/gitdb/test/performance/lib.py
+++ b/gitdb/test/performance/lib.py
@@ -13,22 +13,17 @@ k_env_git_repo = "GITDB_TEST_GIT_REPO_BASE"
#} END invariants
-
-#{ Base Classes
+#{ Base Classes
class TestBigRepoR(TestBase):
+
"""TestCase providing access to readonly 'big' repositories using the following
member variables:
-
+
* gitrepopath
-
+
* read-only base path of the git source repository, i.e. .../git/.git"""
-
- #{ Invariants
- head_sha_2k = '235d521da60e4699e5bd59ac658b5b48bd76ddca'
- head_sha_50 = '32347c375250fd470973a5d76185cac718955fd5'
- #} END invariants
-
+
def setUp(self):
try:
super(TestBigRepoR, self).setUp()
@@ -37,11 +32,12 @@ class TestBigRepoR(TestBase):
self.gitrepopath = os.environ.get(k_env_git_repo)
if not self.gitrepopath:
- logging.info("You can set the %s environment variable to a .git repository of your choice - defaulting to the gitdb repository")
+ logging.info(
+ "You can set the %s environment variable to a .git repository of your choice - defaulting to the gitdb repository", k_env_git_repo)
ospd = os.path.dirname
self.gitrepopath = os.path.join(ospd(ospd(ospd(ospd(__file__)))), '.git')
# end assure gitrepo is set
assert self.gitrepopath.endswith('.git')
-
+
#} END base classes