From 85c6252b54108750291021a74dc00895f79a7ccf Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Wed, 28 May 2008 21:32:32 -0700 Subject: tests: update test_git.py to use the new single-character flag style The previous commit changed the way transform_kwargs handles single-character flags with arguments. This commit updates the testcase accordingly. Signed-off-by: David Aguilar --- test/git/test_git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_git.py') diff --git a/test/git/test_git.py b/test/git/test_git.py index 43fd231c..cae75672 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -16,7 +16,7 @@ class TestGit(object): def test_it_transforms_kwargs_into_git_command_arguments(self): assert_equal(["-s"], self.git.transform_kwargs(**{'s': True})) - assert_equal(["-s", 5], self.git.transform_kwargs(**{'s': 5})) + assert_equal(["-s5"], self.git.transform_kwargs(**{'s': 5})) assert_equal(["--max-count"], self.git.transform_kwargs(**{'max_count': True})) assert_equal(["--max-count=5"], self.git.transform_kwargs(**{'max_count': 5})) -- cgit v1.2.1