summaryrefslogtreecommitdiff
path: root/test/git/test_utils.py
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-05-30 21:01:44 -0400
committerMichael Trier <mtrier@gmail.com>2008-05-30 21:01:44 -0400
commit233e3ffe0ef35dbabe49340ba567499690dcc166 (patch)
tree289bb04b3a806a20fe5b7b831a4643e2fcfd0190 /test/git/test_utils.py
parent7b675bf555e89e708f1b8f79bd90796dd395837b (diff)
downloadgitpython-233e3ffe0ef35dbabe49340ba567499690dcc166.tar.gz
renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests so they pass except for stderr test. Modified version information retrieval.
Diffstat (limited to 'test/git/test_utils.py')
-rw-r--r--test/git/test_utils.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/test/git/test_utils.py b/test/git/test_utils.py
index b6eee00a..b8fcfb3e 100644
--- a/test/git/test_utils.py
+++ b/test/git/test_utils.py
@@ -1,6 +1,6 @@
import os
from test.testlib import *
-from git_python import *
+from git import *
class TestUtils(object):
def setup(self):
@@ -13,18 +13,3 @@ class TestUtils(object):
def test_it_should_dashify(self):
assert_equal('this-is-my-argument', dashify('this_is_my_argument'))
assert_equal('foo', dashify('foo'))
-
- def test_pop_key_array(self):
- array = pop_key(self.testdict, "array")
- assert_equal( [ 42 ], array )
- assert_equal( False, "array" in self.testdict )
-
- def test_pop_key_string(self):
- stringValue = pop_key(self.testdict, "string")
- assert_equal( "42", stringValue )
- assert_equal( False, "string" in self.testdict )
-
- def test_pop_key_int(self):
- intValue = pop_key(self.testdict, "int")
- assert_equal( 42, intValue )
- assert_equal( False, "int" in self.testdict )