webapps.mason.backend.tests: change db filename to mason-test.db to
avoid interference from other testsdb4
parent
239deaeaaa
commit
12862dd313
|
@ -2,12 +2,12 @@ USING: continuations db db.sqlite io.directories io.files.temp
|
||||||
webapps.mason.backend tools.test ;
|
webapps.mason.backend tools.test ;
|
||||||
IN: webapps.mason.backend.tests
|
IN: webapps.mason.backend.tests
|
||||||
|
|
||||||
[ "test.db" temp-file delete-file ] ignore-errors
|
[ "mason-test.db" temp-file delete-file ] ignore-errors
|
||||||
|
|
||||||
[ 0 1 2 ] [
|
[ 0 1 2 ] [
|
||||||
! Do it in a with-transaction to simulate semantics of
|
! Do it in a with-transaction to simulate semantics of
|
||||||
! with-mason-db
|
! with-mason-db
|
||||||
"test.db" temp-file <sqlite-db> [
|
"mason-test.db" temp-file <sqlite-db> [
|
||||||
[
|
[
|
||||||
init-mason-db
|
init-mason-db
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue