Skip to content

Commit d8a1ba5

Browse files
committed
sort results from get_segment
1 parent 5a84960 commit d8a1ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/chunkstore/tools/test_tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def generate_data(date):
2626
return df
2727

2828
def get_segments():
29-
return chunkstore_lib._collection.distinct('sg', {'sy': 'test'})
29+
return sorted(chunkstore_lib._collection.distinct('sg', {'sy': 'test'}))
3030

3131
date = pd.Timestamp('2000-01-01')
3232
df = generate_data(date)

0 commit comments

Comments
 (0)