aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/storage/vcs/base.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py
index 7565caf..533ef4c 100644
--- a/libbe/storage/vcs/base.py
+++ b/libbe/storage/vcs/base.py
@@ -908,6 +908,8 @@ os.listdir(self.get_path("bugs")):
'.'
>>> vcs._u_rel_path("/a.b/c/", "/a.b/c/")
'.'
+ >>> vcs._u_rel_path("./a", ".")
+ 'a'
"""
if root == None:
if self.repo == None:
@@ -1097,5 +1099,4 @@ if libbe.TESTING == True:
make_vcs_testcase_subclasses(VCS, sys.modules[__name__])
unitsuite =unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
- #suite = unittest.TestSuite([unitsuite, doctest.DocTestSuite()])
- suite = unittest.TestSuite([doctest.DocTestSuite()])
+ suite = unittest.TestSuite([unitsuite, doctest.DocTestSuite()])