Lines Matching refs:expanduser
264 self.assertEqual(posixpath.expanduser("foo"), "foo")
268 self.assertEqual(posixpath.expanduser("~"), "/")
269 self.assertEqual(posixpath.expanduser("~/"), "/")
270 self.assertEqual(posixpath.expanduser("~/foo"), "/foo")
276 self.assertIsInstance(posixpath.expanduser("~/"), basestring)
278 if posixpath.expanduser("~") != '/':
280 posixpath.expanduser("~") + "/",
281 posixpath.expanduser("~/")
283 self.assertIsInstance(posixpath.expanduser("~root/"), basestring)
284 self.assertIsInstance(posixpath.expanduser("~foo/"), basestring)
292 self.assertEqual(posixpath.expanduser("~"), home)