Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
328bda8e
Unverified
Commit
328bda8e
authored
4 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: A bit of README and some changes to pycaosdb.ini.template
parent
3cf5a613
No related branches found
No related tags found
1 merge request
!2
Readme remote server
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-1
3 additions, 1 deletion
README.md
pycaosdb.ini.template
+23
-14
23 additions, 14 deletions
pycaosdb.ini.template
with
26 additions
and
15 deletions
README.md
+
3
−
1
View file @
328bda8e
...
...
@@ -9,6 +9,7 @@ CaosDB project.
-
To run tests, start up a CaosDB server with (documentation for this can be found elsewhere).
-
The CaosDB server must have debugging enabled.
-
The database should be empty.
-
Certificates must be valid and be listed in
`pycaosdb.ini`
.
-
Modify
`pycaosdb.ini.template`
accordingly and save it as
`pycaosdb.ini`
.
-
Run the tests with
`pytest`
or
`pytest-3`
(depending on your system).
...
...
@@ -31,7 +32,8 @@ project](https://gitlab.com/caosdb/caosdb) for more information.
Copyright (C) 2018 Research Group Biomedical Physics, Max Planck Institute for
Dynamics and Self-Organization Göttingen.
Copyright (C) 2021 Indiscale GmbH
<info@indiscale.com>
All files in this repository are licensed under
a
[
GNU Affero General Public
All files in this repository are licensed under
the
[
GNU Affero General Public
License
](
LICENCE.md
)
(
version
3 or later).
This diff is collapsed.
Click to expand it.
pycaosdb.ini.template
+
23
−
14
View file @
328bda8e
# -*- mode:conf; -*-
## This sections needs to exist in addition to the usual section
## This sections must exist in addition to the usual section.
[
IntegrationTests
]
test_server_side_scripting
.
bin_dir
.
local
=/
path
/
to
/
scripting
/
bin
test_server_side_scripting
.
bin_dir
.
server
=/
opt
/
caosdb
/
git
/
caosdb
-
server
/
scritping
/
bin
########## Server-side scripting ##################
# test_server_side_scripting.bin_dir.local=/path/to/scripting/bin
# test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin
########## Files ##################
# # location of the files from the pyinttest perspective
# 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 files from the pyinttest perspective
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
/
########## Authentication tokens ##################
# # 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
# 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
]
#url=https://caosdb-server:10443/
## Some integration tests will fail without valid credentials.
#username=admin
#password_method=plain
#password=caosdb
## Some integration tests will fail without a valid certificate here.
#cacert=/path/to/cert/caosdb.cert.pem
#cacert=/etc/ssl/cert.pem
#debug=0
#password_method=plain
#password=caosdb
#debug=0
#ssl_insecure=True
#timeout=500
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment