Skip to content

Commit 6bede68

Browse files
Boyuan DengBoyuan Deng
authored andcommitted
clean up nit
1 parent 68bab18 commit 6bede68

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

tests/test_cr_history_indexing.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ def setUp(self):
5555
self.store.get_component_runs_by_index(
5656
"mock_component", 1, 3)
5757

58-
# test all possible query with get_component_runs_by_index(positive idx, positive idx)
58+
"""
59+
Test all possible queries:
60+
get_component_runs_by_index(positive idx, positive idx)
61+
"""
5962
def testPstPstIndex(self):
6063

6164
# case 1: (0, 0) return zero componentRun
@@ -90,7 +93,10 @@ def testPstPstIndex(self):
9093
self.assertTrue(isEqualComponentRun(
9194
cr, self.secondAndThirdComponentRun[idx]))
9295

93-
# test all possible query with get_component_runs_by_index(positive idx, negative idx)
96+
"""
97+
Test all possible queries:
98+
get_component_runs_by_index(positive idx, negative idx)
99+
"""
94100
def testPstNgtIndex(self):
95101

96102
# case 1: (0, -len(componentRun) + 1) return first componentRun)
@@ -111,7 +117,10 @@ def testPstNgtIndex(self):
111117
self.assertTrue(isEqualComponentRun(
112118
cr, self.secondAndThirdComponentRun[idx]))
113119

114-
# test all possible query with get_component_runs_by_index(negative idx, positive idx)
120+
"""
121+
Test all possible queries:
122+
get_component_runs_by_index(negative idx, positive idx)
123+
"""
115124
def testNgtPstIndex(self):
116125

117126
# case 1: (-len(componentRun), 1) return the first componentRun)
@@ -137,7 +146,10 @@ def testNgtPstIndex(self):
137146
self.assertTrue(isEqualComponentRun(
138147
cr, self.secondAndThirdComponentRun[idx]))
139148

140-
# test all possible query with get_component_runs_by_index(negative idx, negative idx)
149+
"""
150+
Test all possible queries:
151+
get_component_runs_by_index(negative idx, negative idx)
152+
"""
141153
def testNgtNgtIndex(self):
142154

143155
# case 1: (-len(componentRun), -len(componentRun) + 1)

0 commit comments

Comments
 (0)