Skip to content

Commit

Permalink
fix assumption of unix paths in test; refs buildbot#835
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Jun 7, 2010
1 parent a6eb16c commit 2c35fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_db_dbspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_fromURL_sqlitePercentSub(self):
basedir = "/foo/bar"
d = dbspec.DBSpec.from_url("sqlite:///%(basedir)s/x/state.sqlite", basedir=basedir)
self.failUnlessConnection(d, self.SQLITE_NAMES,
connargs=(os.path.join(basedir, "x/state.sqlite"),))
connargs=(os.path.join(basedir, os.path.join("x", "state.sqlite")),))

def test_fromURL_sqliteAbsolutePath(self):
basedir = "/foo/bar"
Expand Down

0 comments on commit 2c35fc1

Please sign in to comment.