summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-13 07:19:42 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-13 07:19:42 +0000
commit9a7c84e647a15b094a0f83695852943cdc52b1e0 (patch)
tree52dbe9bad4ec18e61d4f6161bea92ed8fee63e90 /pym
parentAdd TODO note about support for blocks within slots. Thanks to Brian Harring... (diff)
downloadportage-multirepo-9a7c84e647a15b094a0f83695852943cdc52b1e0.tar.gz
portage-multirepo-9a7c84e647a15b094a0f83695852943cdc52b1e0.tar.bz2
portage-multirepo-9a7c84e647a15b094a0f83695852943cdc52b1e0.zip
Fix the varexpand quotes tests since quotes are no longer removed by this function.
svn path=/main/trunk/; revision=6525
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/tests/util/test_varExpand.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/tests/util/test_varExpand.py b/pym/portage/tests/util/test_varExpand.py
index 0a8bf5b1..ee0f573c 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],