mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-07-02 01:29:25 +09:00
refactoring: rename crate_database functions (BREAKING)
This commit is contained in:
parent
733fb392c3
commit
656848f850
6 changed files with 26 additions and 16 deletions
|
@ -202,7 +202,7 @@ true || include("../src/PSBoardDataBase.jl")
|
|||
@testset "full integrated test" begin
|
||||
dbpath = tempname()
|
||||
jld2path = tempname()
|
||||
db = PSBoardDataBase.create_database(dbpath)
|
||||
db = PSBoardDataBase.create_empty_database(dbpath)
|
||||
jld2_slavelog = jldopen(jld2path, "w")
|
||||
@info "" db jld2_slavelog
|
||||
|
||||
|
@ -264,10 +264,11 @@ true || include("../src/PSBoardDataBase.jl")
|
|||
|
||||
run(`sqlitebrowser $dbpath`)
|
||||
|
||||
@test PSBoardDataBase.create_database_from_exported_csvs(
|
||||
@test PSBoardDataBase.create_database(
|
||||
tempname();
|
||||
masterlog_dir = "input/log/",
|
||||
slavelog_dir = "input/slavelogs/",
|
||||
slavelog_result = tempname(),
|
||||
) isa SQLite.DB
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue