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
6199c110
Unverified
Commit
6199c110
authored
5 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
pycaosdb.ini.template
+24
-0
24 additions, 0 deletions
pycaosdb.ini.template
tests/test_issues.py
+2
-1
2 additions, 1 deletion
tests/test_issues.py
with
29 additions
and
1 deletion
.gitignore
+
3
−
0
View file @
6199c110
...
...
@@ -13,3 +13,6 @@ dist/
# libraries
PyCaosDB*.egg
# user config
pycaosdb.ini
This diff is collapsed.
Click to expand it.
pycaosdb.ini.template
0 → 100644
+
24
−
0
View file @
6199c110
# -*- 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
This diff is collapsed.
Click to expand it.
tests/test_issues.py
+
2
−
1
View file @
6199c110
...
...
@@ -80,6 +80,7 @@ def test_issue_85_a():
c
.
insert
()
# Raised java.sql.SQLIntegrityConstraintViolationException:
# # Duplicate entry '12345-12346-12345' for key 'PRIMARY'
@with_setup
(
setup
,
teardown
)
def
test_issue_85_b
():
"""
SQLIntegrityConstraintViolationException for special inheritance patterns.
...
...
@@ -99,4 +100,4 @@ def test_issue_85_b():
C
.
add_parent
(
C
)
C
.
update
()
C
.
add_parent
(
A
)
C
.
update
()
# Failed at this step
C
.
update
()
# Failed at this step
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