Start SPHLite 0.2.1 hardening
This commit is contained in:
@@ -43,7 +43,7 @@ def main() -> int:
|
||||
|
||||
version = run_command([exe, "--version"])
|
||||
require_field(version.stdout, "version")
|
||||
if "0.2.0" not in version.stdout:
|
||||
if "0.2.1" not in version.stdout:
|
||||
raise AssertionError("CLI version mismatch")
|
||||
|
||||
inspect = run_command([exe, model])
|
||||
|
||||
@@ -19,6 +19,8 @@ def main() -> int:
|
||||
solver = SPHLite(args.library)
|
||||
if PHASE_SOLID != 4 or STATUS_ACTIVE != 0:
|
||||
raise AssertionError("Python constants are not locked")
|
||||
if solver.version() != (0, 2, 1):
|
||||
raise AssertionError("Python version mismatch")
|
||||
|
||||
solver.initialize()
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user