Lines Matching refs:expandvars
190 expandvars = self.pathmodule.expandvars
196 self.assertEqual(expandvars("foo"), "foo")
197 self.assertEqual(expandvars("$foo bar"), "bar bar")
198 self.assertEqual(expandvars("${foo}bar"), "barbar")
199 self.assertEqual(expandvars("$[foo]bar"), "$[foo]bar")
200 self.assertEqual(expandvars("$bar bar"), "$bar bar")
201 self.assertEqual(expandvars("$?bar"), "$?bar")
202 self.assertEqual(expandvars("$foo}bar"), "bar}bar")
203 self.assertEqual(expandvars("${foo"), "${foo")
204 self.assertEqual(expandvars("${{foo}}"), "baz1}")
205 self.assertEqual(expandvars("$foo$foo"), "barbar")
206 self.assertEqual(expandvars("$bar$bar"), "$bar$bar")
212 expandvars = self.pathmodule.expandvars
214 self.assertEqual(expandvars(value), expected)