Skip to content

Commit 11c7785

Browse files
committed
Add irrelevant identifiers
1 parent 4ccdd18 commit 11c7785

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

terminusdb_client/tests/test_slice.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class TestWOQLSlice:
1313
"""Test cases for the slice operator"""
1414

1515
def test_basic_slice(self):
16-
"""AC-1: Basic slicing - slice([a,b,c,d], result, 1, 3) returns [b,c]"""
16+
"""Basic slicing - slice([a,b,c,d], result, 1, 3) returns [b,c]"""
1717
woql_object = WOQLQuery().slice(["a", "b", "c", "d"], "v:Result", 1, 3)
1818
assert woql_object.to_dict() == WOQL_SLICE_JSON["basicSlice"]
1919

2020
def test_negative_indices(self):
21-
"""AC-3: Negative indices - slice([a,b,c,d], result, -2, -1) returns [c]"""
21+
"""Negative indices - slice([a,b,c,d], result, -2, -1) returns [c]"""
2222
woql_object = WOQLQuery().slice(["a", "b", "c", "d"], "v:Result", -2, -1)
2323
assert woql_object.to_dict() == WOQL_SLICE_JSON["negativeIndices"]
2424

@@ -38,7 +38,7 @@ def test_variable_indices(self):
3838
assert woql_object.to_dict() == WOQL_SLICE_JSON["variableIndices"]
3939

4040
def test_empty_list(self):
41-
"""AC-6: Empty list - slice([], result, 0, 1) returns []"""
41+
"""Empty list - slice([], result, 0, 1) returns []"""
4242
woql_object = WOQLQuery().slice([], "v:Result", 0, 1)
4343
assert woql_object.to_dict() == WOQL_SLICE_JSON["emptyList"]
4444

@@ -59,15 +59,15 @@ def test_chaining_with_and(self):
5959
assert result["and"][1]["@type"] == "Slice"
6060

6161
def test_single_element_slice(self):
62-
"""AC-2: Single element - slice([a,b,c,d], result, 1, 2) returns [b]"""
62+
"""Single element - slice([a,b,c,d], result, 1, 2) returns [b]"""
6363
woql_object = WOQLQuery().slice(["a", "b", "c", "d"], "v:Result", 1, 2)
6464
result = woql_object.to_dict()
6565
assert result["@type"] == "Slice"
6666
assert result["start"]["data"]["@value"] == 1
6767
assert result["end"]["data"]["@value"] == 2
6868

6969
def test_full_range(self):
70-
"""AC-7: Full range - slice([a,b,c,d], result, 0, 4) returns [a,b,c,d]"""
70+
"""Full range - slice([a,b,c,d], result, 0, 4) returns [a,b,c,d]"""
7171
woql_object = WOQLQuery().slice(["a", "b", "c", "d"], "v:Result", 0, 4)
7272
result = woql_object.to_dict()
7373
assert result["@type"] == "Slice"

0 commit comments

Comments
 (0)