You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2026. It is now read-only.
Repository navigation
Commit 7bde7b0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: gitdb/test/db/test_git.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
#
3
3
# This module is part of GitDB and is released under
4
4
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
Copy file name to clipboardExpand all lines: gitdb/test/performance/lib.py
+2-28Lines changed: 2 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -3,41 +3,15 @@
3
3
# This module is part of GitDB and is released under
4
4
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
5
5
"""Contains library functions"""
6
-
importos
7
-
importlogging
8
6
fromgitdb.test.libimportTestBase
9
7
10
8
11
-
#{ Invvariants
12
-
k_env_git_repo="GITDB_TEST_GIT_REPO_BASE"
13
-
#} END invariants
14
-
15
9
16
10
#{ Base Classes
17
11
18
12
classTestBigRepoR(TestBase):
19
-
20
-
"""TestCase providing access to readonly 'big' repositories using the following
21
-
member variables:
22
-
23
-
* gitrepopath
24
-
25
-
* read-only base path of the git source repository, i.e. .../git/.git"""
26
-
27
-
defsetUp(self):
28
-
try:
29
-
super(TestBigRepoR, self).setUp()
30
-
exceptAttributeError:
31
-
pass
32
-
33
-
self.gitrepopath=os.environ.get(k_env_git_repo)
34
-
ifnotself.gitrepopath:
35
-
logging.info(
36
-
"You can set the %s environment variable to a .git repository of your choice - defaulting to the gitdb repository", k_env_git_repo)
Copy file name to clipboardExpand all lines: gitdb/test/test_example.py
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,8 @@
3
3
# This module is part of GitDB and is released under
4
4
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
5
5
"""Module with examples from the tutorial section of the docs"""
0 commit comments