Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
05ff4f0a
Commit
05ff4f0a
authored
Mar 25, 2026
by
Eric Duminil
Browse files
Unused code
parent
045c8e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_version.py
View file @
05ff4f0a
"""Live test for SimStadt version. Skipped if SimStadt is not installed."""
import
re
import
pytest
from
simstadt
import
get_version_and_date
...
...
@@ -9,9 +7,6 @@ from simstadt import get_version_and_date
SIMSTADT_MIN_VERSION
=
"0.14.0"
SIMSTADT_MIN_DATE
=
"20250701"
SIMSTADT_VERSION_FORMAT
=
re
.
compile
(
r
"Launching SimStadt (\S+) \((\w+), rev. (\w+), (\d+)\)"
)
@
pytest
.
mark
.
integration
def
test_version
(
simstadt_folder
):
version
,
date
=
get_version_and_date
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment