Skip to content
Snippets Groups Projects
Unverified Commit 6199c110 authored by Daniel's avatar Daniel
Browse files

DOC: Added example pycaosdb.ini where it can be found more easily.

parent 35e40184
No related branches found
No related tags found
No related merge requests found
...@@ -13,3 +13,6 @@ dist/ ...@@ -13,3 +13,6 @@ dist/
# libraries # libraries
PyCaosDB*.egg PyCaosDB*.egg
# user config
pycaosdb.ini
# -*- mode:conf; -*-
## This sections needs to exist in addition to the usual section
[IntegrationTests]
test_server_side_scripting.bin_dir=/scripting-bin/
# 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/
## Insert your usual settings here
[Connection]
#url=https://caosdb-server:10443/
#username=admin
#cacert=/cert/caosdb.cert.pem
#cacert=/etc/ssl/cert.pem
#debug=0
#passwordmethod=plain
#password=caosdb
#ssl_insecure=True
#timeout=500
...@@ -80,6 +80,7 @@ def test_issue_85_a(): ...@@ -80,6 +80,7 @@ def test_issue_85_a():
c.insert() # Raised java.sql.SQLIntegrityConstraintViolationException: c.insert() # Raised java.sql.SQLIntegrityConstraintViolationException:
# # Duplicate entry '12345-12346-12345' for key 'PRIMARY' # # Duplicate entry '12345-12346-12345' for key 'PRIMARY'
@with_setup(setup, teardown) @with_setup(setup, teardown)
def test_issue_85_b(): def test_issue_85_b():
"""SQLIntegrityConstraintViolationException for special inheritance patterns. """SQLIntegrityConstraintViolationException for special inheritance patterns.
...@@ -99,4 +100,4 @@ def test_issue_85_b(): ...@@ -99,4 +100,4 @@ def test_issue_85_b():
C.add_parent(C) C.add_parent(C)
C.update() C.update()
C.add_parent(A) C.add_parent(A)
C.update() # Failed at this step C.update() # Failed at this step
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment