Skip to content
Snippets Groups Projects
Commit cca80dbb authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][prefix][databases][large] Properly use Entry

The named tuple was not used.
parent 84956f67
No related branches found
No related tags found
1 merge request!62Code cleanup
...@@ -52,7 +52,7 @@ class LargeView(View): ...@@ -52,7 +52,7 @@ class LargeView(View):
entries = [] entries = []
for i in range(0, 1000): for i in range(0, 1000):
entries.append(numpy.int32(numpy.random.randint(100, size=(1000,)))) entries.append(Entry(numpy.int32(numpy.random.randint(100, size=(1000,)))))
return entries return entries
...@@ -76,7 +76,7 @@ class SmallView(View): ...@@ -76,7 +76,7 @@ class SmallView(View):
entries = [] entries = []
for i in range(0, 1000): for i in range(0, 1000):
entries.append(numpy.int32(numpy.random.randint(0, 100))) entries.append(Entry(numpy.int32(numpy.random.randint(0, 100))))
return entries return entries
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment