diff --git a/pycaosdb.ini.template b/pycaosdb.ini.template index d8441a3171f8aaf19d5cddb67dbc94efd8de42de..369b33f6f63d15b737d6a558422ab1bfe6c30f15 100644 --- a/pycaosdb.ini.template +++ b/pycaosdb.ini.template @@ -9,6 +9,10 @@ test_files.test_insert_files_in_dir.local=/extroot/test_insert_files_in_dir/ # location of the files from the caosdb_servers perspective test_files.test_insert_files_in_dir.server=/opt/caosdb/mnt/extroot/test_insert_files_in_dir/ +# location of the one-time tokens from the pyinttest's perspective +test_authentication.admin_token_crud = /authtoken/admin_token_crud.txt +test_authentication.admin_token_expired = /authtoken/admin_token_expired.txt +test_authentication.admin_token_3_attempts = /authtoken/admin_token_3_attempts.txt ## Insert your usual settings here [Connection] diff --git a/tests/test_permissions.py b/tests/test_permissions.py index b00a8e6026b26bf867584db01cbc4269550267ab..3528a63eb8a16bc28938ae4b4d0074cc241f89f0 100644 --- a/tests/test_permissions.py +++ b/tests/test_permissions.py @@ -46,6 +46,7 @@ easy_pw = "1234" def setup_module(): + switch_to_admin_user() insert_test_user()