mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-12 13:18:19 +00:00
test_backupdb: tolerate newer sqlite-3.20.0 error messages
This commit is contained in:
parent
6be3f0594a
commit
95ac5494ff
@ -49,7 +49,9 @@ class BackupDB(unittest.TestCase):
|
||||
self.failUnlessEqual(bdb, None)
|
||||
stderr = stderr_f.getvalue()
|
||||
self.failUnlessIn("backupdb file is unusable", stderr)
|
||||
self.failUnlessIn("file is encrypted or is not a database", stderr)
|
||||
# sqlite-3.19.3 says "file is encrypted or is not a database"
|
||||
# sqlite-3.20.0 says "file is not a database"
|
||||
self.failUnlessIn("is not a database", stderr)
|
||||
|
||||
# put a directory in the way, to exercise a different error path
|
||||
where = os.path.join(basedir, "roadblock-dir")
|
||||
|
Loading…
x
Reference in New Issue
Block a user