Skip to content
Snippets Groups Projects
Commit d8546bf6 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Apply 2 suggestion(s) to 2 file(s)

parent 75ef15b9
Branches
Tags
2 merge requests!71REL: RElease v0.2.0,!5FIX: use identifiable instead of record
Pipeline #29476 passed
......@@ -484,7 +484,7 @@ class Crawler(object):
def has_reference_value_without_id(self, identifiable: db.Record):
"""
Returns True if there is at least one property in record which:
Returns True if there is at least one property in `identifiable` which:
a) is a reference property AND
b) where the value is set to a db.Entity (instead of an ID) AND
c) where the ID of the value (the db.Entity object in b)) is not set (to an integer)
......
......@@ -665,7 +665,6 @@ def test_security_mode(updateCacheMock, upmock, insmock, ident):
assert crawler.run_id is not None
insmock.assert_not_called()
upmock.assert_not_called()
# TODO reactivate
assert updateCacheMock.call_count == 1
# reset counts
reset_mocks([updateCacheMock, insmock, upmock])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment