Skip to content
Snippets Groups Projects
Commit 1ad8bb2e authored by florian's avatar florian
Browse files

ENH: Introduce minimal ccaosdb version constant and use in test

parent 8662d22a
No related branches found
No related tags found
1 merge request!12F release results
......@@ -28,6 +28,9 @@ module CaosDB
export evaluate_return_code,
CaosDBException, ClientException, GenericCaosDBException, CaosDBMessage
# Exports from module Constants
export MIN_CCAOSDB_VERSION
# Exports from module Utility
export get_ccaosdb_version, get_env_fallback
......@@ -122,6 +125,8 @@ end
include("Exceptions.jl")
include("Constants.jl")
include("Info.jl")
include("Utility.jl")
......@@ -134,6 +139,7 @@ include("Entity.jl")
include("Transaction.jl")
using .Exceptions, .Info, .Authentication, .Connection, .Utility, .Entity, .Transaction
using .Exceptions,
.Constants, .Info, .Authentication, .Connection, .Utility, .Entity, .Transaction
end # CaosDB
......@@ -25,7 +25,7 @@ using CaosDB
@testset "CaosDBUnitTests" begin
@testset "TestCaosdbCppLibVersion" begin
@test CaosDB.Utility.get_ccaosdb_version() >= v"0.0.16"
@test CaosDB.Utility.get_ccaosdb_version() >= CaosDB.Constants.MIN_CCAOSDB_VERSION
end
@testset "TestUtility" begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment