Skip to content

json-schema test for pycaosdb fails if no password is given

Summary

import caosdb fails for this .pycaosdb.ini:

[Connection]
url=https://localhost:10443/
username=admin

The documentation however says that the default password method is input, which does not require a password. This should be fixed in the json-schema test.

Expected Behavior

The pycaosdb.ini should be accepted.

Actual Behavior

The pycaosdb.ini is not accepted.

Steps to Reproduce the Problem

Use the branch f-fix-password-input-schema

  1. git checkout origin/f-fix-password-input-schema
  2. make unittest

Specifications

  • Version: Current dev (or f-fix-password-input-schema) branch
  • Platform: Linux

Possible fixes

  • Fix documentation: this is not really the default (yet)
  • Create new issues to
    1. Apply the default, if options are not given.
    2. Generate template caosdb.ini from schema. #113
Edited by Daniel Hornung
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information