Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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 Crawler
Commits
be14625e
Commit
be14625e
authored
1 year ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Remove obsolete todos
parent
688f8428
No related branches found
No related tags found
2 merge requests
!160
STY: styling
,
!151
New class to track treated Records during sync
Pipeline
#47405
passed
1 year ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unittests/test_crawler.py
+0
-4
0 additions, 4 deletions
unittests/test_crawler.py
with
0 additions
and
4 deletions
unittests/test_crawler.py
+
0
−
4
View file @
be14625e
...
@@ -978,8 +978,6 @@ def test_treated_record_lookup():
...
@@ -978,8 +978,6 @@ def test_treated_record_lookup():
assert
trlu
.
_id_look_up
[
exist
.
id
]
is
exist
assert
trlu
.
_id_look_up
[
exist
.
id
]
is
exist
# can be accessed via get_existing
# can be accessed via get_existing
assert
trlu
.
get_existing
(
db
.
Record
(
id
=
1
))
is
exist
assert
trlu
.
get_existing
(
db
.
Record
(
id
=
1
))
is
exist
# assert trlu.is_existing(db.Record(id=1)) # TODO remove?
# assert not trlu.is_missing(db.Record(id=1)) # TODO remove?
miss
=
db
.
Record
()
miss
=
db
.
Record
()
# exception when identifiable is missing
# exception when identifiable is missing
...
@@ -993,8 +991,6 @@ def test_treated_record_lookup():
...
@@ -993,8 +991,6 @@ def test_treated_record_lookup():
assert
trlu
.
_identifiable_look_up
[
ident
.
get_representation
()]
is
miss
assert
trlu
.
_identifiable_look_up
[
ident
.
get_representation
()]
is
miss
# can be accessed via get_missing
# can be accessed via get_missing
assert
trlu
.
get_missing
(
db
.
Record
(),
Identifiable
(
name
=
'
a
'
))
is
miss
assert
trlu
.
get_missing
(
db
.
Record
(),
Identifiable
(
name
=
'
a
'
))
is
miss
# assert not trlu.is_existing(db.Record()) # TODO remove?
# assert trlu.is_missing(db.Record()) # TODO remove?
fi
=
db
.
File
(
path
=
'
a
'
,
id
=
2
)
fi
=
db
.
File
(
path
=
'
a
'
,
id
=
2
)
trlu
.
add
(
fi
)
trlu
.
add
(
fi
)
...
...
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