From: Zac Medico Date: Sun, 13 May 2007 07:19:42 +0000 (-0000) Subject: Fix the varexpand quotes tests since quotes are no longer removed by this function. X-Git-Tag: v2.2_pre1~1432 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9a7c84e647a15b094a0f83695852943cdc52b1e0;p=portage.git Fix the varexpand quotes tests since quotes are no longer removed by this function. svn path=/main/trunk/; revision=6525 --- diff --git a/pym/portage/tests/util/test_varExpand.py b/pym/portage/tests/util/test_varExpand.py index 0a8bf5b11..ee0f573c9 100644 --- a/pym/portage/tests/util/test_varExpand.py +++ b/pym/portage/tests/util/test_varExpand.py @@ -25,7 +25,7 @@ class VarExpandTestCase(TestCase): def testVarExpandDoubleQuotes(self): varDict = { "a":"5" } - tests = [ ("\"${a}\"", "5") ] + tests = [ ("\"${a}\"", "\"5\"") ] for test in tests: result = varexpand( test[0], varDict ) self.failIf( result != test[1], @@ -35,7 +35,7 @@ class VarExpandTestCase(TestCase): def testVarExpandSingleQuotes(self): varDict = { "a":"5" } - tests = [ ("\'${a}\'", "${a}") ] + tests = [ ("\'${a}\'", "\'${a}\'") ] for test in tests: result = varexpand( test[0], varDict ) self.failIf( result != test[1],