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

MAINT: Typos fixed.

parent 7e178b3e
No related branches found
No related tags found
1 merge request!71Release 0.9
Pipeline #27404 passed
...@@ -26,7 +26,7 @@ from caosdb import administration as admin ...@@ -26,7 +26,7 @@ from caosdb import administration as admin
This module implements a registration procedure for integration tests which This module implements a registration procedure for integration tests which
need a running CaosDB instance. need a running CaosDB instance.
It ensures that tests do not accidently overwrite data in real CaosDB It ensures that tests do not accidentally overwrite data in real CaosDB
instances, as it checks whether the running CaosDB instance is actually the instances, as it checks whether the running CaosDB instance is actually the
correct one, that correct one, that
should be used for these tests. should be used for these tests.
...@@ -66,7 +66,7 @@ def _register_test(): ...@@ -66,7 +66,7 @@ def _register_test():
raise RuntimeError("Response from server for Info could not be interpreted.") raise RuntimeError("Response from server for Info could not be interpreted.")
if res > 0: if res > 0:
raise RuntimeError("This instance of CaosDB contains entities already." raise RuntimeError("This instance of CaosDB contains entities already."
"It must be empty in order to gegister a new test.") "It must be empty in order to register a new test.")
print("Current host of CaosDB instance is: {}".format( print("Current host of CaosDB instance is: {}".format(
db.connection.connection.get_connection()._delegate_connection.setup_fields["host"])) db.connection.connection.get_connection()._delegate_connection.setup_fields["host"]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment