mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
18 lines
466 B
Python
18 lines
466 B
Python
# -*- coding: utf-8 -*-
|
|
#
|
|
# Copyright (C) 2020 Mojib Wali.
|
|
#
|
|
# invenio-config-tugraz is free software; you can redistribute it and/or
|
|
# modify it under the terms of the MIT License; see LICENSE file for more
|
|
# details.
|
|
|
|
from invenio_config_tugraz.permissions import RecordIp
|
|
|
|
|
|
def test_recordip():
|
|
generator = RecordIp()
|
|
|
|
assert generator.needs() == []
|
|
assert generator.excludes() == []
|
|
assert generator.query_filter().to_dict() == {'match_all': {}}
|