summaryrefslogtreecommitdiff
path: root/gitdb/test/db/test_base.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-05 19:44:36 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-05 19:44:36 +0200
commite03093dd392b92f51b7d7cf66d7b1949b9f843e6 (patch)
treedbd2b85d8b201cb5f2848b3aaa11cffbc96031c2 /gitdb/test/db/test_base.py
parent6463c10db377573e695bc504a9451bdb6cbf61f5 (diff)
downloadgitdbmerger.tar.gz
Removed plenty of code which went into git-python. This is just for completeness, gitdb doesn't need to be worked on anymoregitdbmerger
Diffstat (limited to 'gitdb/test/db/test_base.py')
-rw-r--r--gitdb/test/db/test_base.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/gitdb/test/db/test_base.py b/gitdb/test/db/test_base.py
index 0a381be..8b13789 100644
--- a/gitdb/test/db/test_base.py
+++ b/gitdb/test/db/test_base.py
@@ -1,18 +1 @@
-# Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors
-#
-# This module is part of GitDB and is released under
-# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
-from lib import *
-from gitdb.db import RefSpec
-class TestBase(TestDBBase):
-
- @with_rw_directory
- def test_basics(self, path):
- self.failUnlessRaises(ValueError, RefSpec, None, None)
- rs = RefSpec(None, "something")
- assert rs.force == False
- assert rs.delete_destination()
- assert rs.source is None
- assert rs.destination == "something"
-