From 71cd409660bc5b8c211dc7c51afae481d822d593 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Wed, 21 May 2008 19:39:55 +0200 Subject: fixed errors in the test, two permission errors remaining, thx to mock?!?! Also removed the shell_escape tests... --- test/git/test_utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/git/test_utils.py') diff --git a/test/git/test_utils.py b/test/git/test_utils.py index a9af2040..b2b42a1c 100644 --- a/test/git/test_utils.py +++ b/test/git/test_utils.py @@ -6,10 +6,10 @@ class TestUtils(object): def setup(self): base = os.path.join(os.path.dirname(__file__), "../.."), self.git = Git(base) - self.git_bin_base = "%s --git-dir='%s'" % (Git.git_binary, base) +# self.git_bin_base = "%s --git-dir='%s'" % (Git.git_binary, base) - def test_it_escapes_single_quotes_with_shell_escape(self): - assert_equal("\\\\'foo", shell_escape("'foo")) +# def test_it_escapes_single_quotes_with_shell_escape(self): +# assert_equal("\\\\'foo", shell_escape("'foo")) def test_it_should_dashify(self): assert_equal('this-is-my-argument', dashify('this_is_my_argument')) -- cgit v1.2.1