Mercurial > bitten > bitten-test
changeset 661:8931a5ebdc7a
0.6dev: Fix failing test following [734].
author | osimons |
---|---|
date | Sat, 29 Aug 2009 14:31:48 +0000 |
parents | 3a7a1ca990ff |
children | b00da52e942f |
files | bitten/slave_tests/recipe.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/slave_tests/recipe.py +++ b/bitten/slave_tests/recipe.py @@ -32,7 +32,10 @@ config, {'path': 'bar'}) self.assertEquals(os.path.realpath('/foo/bar/baz'), - ctxt.vars['basedir']) + os.path.realpath(ctxt.vars['basedir'])) + if os.name == 'nt': + # Make sure paths are double-escaped + self.failUnless('\\\\' in ctxt.vars['basedir']) def test_run_wrong_arg(self): ctxt = Context(self.basedir)