63 lines
1.3 KiB
Python
63 lines
1.3 KiB
Python
# Copyright 2024 Memgraph Ltd.
|
|
#
|
|
# Use of this software is governed by the Business Source License
|
|
# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
|
|
# License, and you may not use this file except in compliance with the Business Source License.
|
|
#
|
|
# As of the Change Date specified in that file, in accordance with
|
|
# the Business Source License, use of this software will be governed
|
|
# by the Apache License, Version 2.0, included in the file
|
|
# licenses/APL.txt.
|
|
|
|
import sys
|
|
|
|
import pytest
|
|
from common import memgraph
|
|
|
|
|
|
def test_create_index(memgraph):
|
|
memgraph.execute("CREATE TEXT INDEX complianceDocuments ON :Document;")
|
|
|
|
assert True
|
|
|
|
|
|
def test_drop_index(memgraph):
|
|
memgraph.execute("DROP TEXT INDEX complianceDocuments;")
|
|
assert True
|
|
|
|
|
|
def test_text_search_given_property():
|
|
assert True
|
|
|
|
|
|
def test_text_search_all_properties():
|
|
assert True
|
|
|
|
|
|
def test_create_indexed_node():
|
|
assert True
|
|
|
|
|
|
def test_delete_indexed_node():
|
|
assert True
|
|
|
|
|
|
def test_add_indexed_label():
|
|
assert True
|
|
|
|
|
|
def test_remove_indexed_label():
|
|
assert True
|
|
|
|
|
|
def test_add_property_to_indexed_node():
|
|
assert True
|
|
|
|
|
|
def test_remove_property_from_indexed_node():
|
|
assert True
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(pytest.main([__file__, "-rA"]))
|