Skip to content
Snippets Groups Projects
Select Git revision
  • df506804a17f2cb995e0b3a3d445d79a63cc9996
  • main default protected
  • f-yaml-parser-enums
  • dev protected
  • f-fix-paths
  • f-fix-validate-to-dict
  • f-labfolder-converter
  • f-state-machine-script
  • f-xlsx-converter-warnings-errors
  • f-rename
  • f-extra-deps
  • f-more-jsonschema-export
  • f-henrik
  • f-fix-89
  • f-trigger-advanced-user-tools
  • f-real-rename-test
  • f-linkahead-rename
  • f-register-integrationtests
  • f-fix-id
  • f-h5-files
  • f-json-schema
  • v0.14.0
  • v0.13.0
  • v0.12.0
  • v0.11.0
  • v0.10.0-numpy2
  • v0.10.0
  • v0.9.0
  • v0.8.0
  • v0.7.0
  • v0.6.1
  • v0.6.0
  • v0.5.0
  • v0.4.1
  • v0.4.0
  • v0.3.1
  • v0.3.0
37 results

setup.cfg

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    pylinkahead.ini.template 2.24 KiB
    # -*- mode:conf; -*-
    
    ## This sections must exist in addition to the usual section.
    [IntegrationTests]
    ########## Server-side scripting paths ##################
    ## These are used by tests of server side scripting. Both paths have
    ## to point to existing directories in which the CaosDB server has the
    ## permissions to create and execute scripts.
    
    # Location of the scripting bin debug dir which is used for the test
    # scripts from the pyinttest's perspective.
    test_server_side_scripting.bin_dir.local=/path/to/linkahead-pyinttest/resources
    
    # Location of the scripting bin debug dir which is used for the test
    # scripts from the server's perspective.
    test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin-debug
    
    ########## Files paths ##################
    ## Used by tests of file handling. Specify the path to an existing
    ## directory in which file tests are performed, once as seen by the
    ## host and once as seen by the server.
    
    # Location of the files from the pyinttest (i.e. host) perspective.  Probably the local extroot
    # path plus `/test_insert_files_in_dir/`.
    test_files.test_insert_files_in_dir.local=/path/to/linkahead-pyinttest/test_profile/paths/extroot/test_insert_files_in_dir/
    
    # Location of the files from the caosdb server's perspective.  Probably with the same last
    # component(s) as the local variant (above).
    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
    
    # Needed for one time-zone test
    test_misc.test_time_zone.time_zone = Cuba
    
    ## Insert your usual settings here
    [Connection]
    url=https://localhost:10443/
    
    ## Some integration tests will fail without valid credentials.
    username=admin
    password_method=plain
    password=caosdb
    
    ## Provide SSL certificate used by the CaosDB server for all tests to
    ## run. Some integration tests will fail without a valid certificate here.
    cacert=/path/to/cert.pem
    
    #debug=0
    #ssl_insecure=True
    #timeout=500