Skip to content
Snippets Groups Projects
Verified Commit d8f9234c authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Integration tests now print the caosadvancedtools version.

parent 78a7b231
No related branches found
No related tags found
No related merge requests found
Pipeline #19601 failed
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
# #
"""Clear the database before and after the integration tests.""" """Clear the database before and after the integration tests."""
import caosdb as db import caosdb as db
import caosadvancedtools
def clear_all(): def clear_all():
...@@ -44,4 +45,5 @@ def clear_all(): ...@@ -44,4 +45,5 @@ def clear_all():
if __name__ == "__main__": if __name__ == "__main__":
print(f"pycaosdb version: {db.__version__}") print(f"pycaosdb version: {db.__version__}")
print(f"caosadvancedtools version: {caosadvancedtools.__version__}")
clear_all() clear_all()
try:
from caosadvancedtools.version import version as __version__
except ModuleNotFoundError:
version = "uninstalled"
__version__ = version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment