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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
79b663b5
Verified
Commit
79b663b5
authored
5 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
TST: mark failing tests as xfail
parent
9336e1ac
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_name_properties.py
+2
-2
2 additions, 2 deletions
tests/test_name_properties.py
tests/test_query.py
+2
-0
2 additions, 0 deletions
tests/test_query.py
with
4 additions
and
2 deletions
tests/test_name_properties.py
+
2
−
2
View file @
79b663b5
...
...
@@ -27,7 +27,7 @@
"""
import
caosdb
as
db
from
pytest
import
raises
from
pytest
import
raises
,
mark
from
nose.tools
import
nottest
,
assert_true
,
assert_raises
,
assert_equal
,
with_setup
,
assert_is_not_none
# @UnresolvedImport
...
...
@@ -208,7 +208,7 @@ def test_recordtype_query():
test_recordtpye_insertion_with_indirect_child_with_existing_parent
,
[
"
FIND TestRecordType
"
,
"
FIND TestRT
"
])
@mark.xfail
(
reason
=
"
waiting for server, mysqlbackend merges of f-name-query
"
)
def
test_query_name_property
():
"""
Insert a Property which has a name parent. Add to Record and query the
record.
"""
...
...
This diff is collapsed.
Click to expand it.
tests/test_query.py
+
2
−
0
View file @
79b663b5
...
...
@@ -29,6 +29,7 @@
import
caosdb
as
h
from
pytest
import
mark
from
nose.tools
import
assert_true
,
assert_equal
,
assert_is_not_none
from
caosdb.connection.connection
import
get_connection
from
lxml
import
etree
...
...
@@ -968,6 +969,7 @@ def test_backref_like():
h
.
execute_query
(
"
FIND ENTITY WHICH IS REFERENCED BY *e
"
,
unique
=
True
)
@mark.xfail
(
reason
=
"
waiting for server, mysqlbacken merges of f-query-name
"
)
def
test_query_by_name
():
rt
=
h
.
RecordType
(
"
TestRT
"
).
insert
()
rec1
=
h
.
Record
(
"
TestRec1
"
).
add_parent
(
"
TestRT
"
).
insert
()
...
...
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