Add ids to dictionary fixture for block tests
@@ -92,14 +92,20 @@ def mode(request):
return request.param
-@pytest.fixture(
- params=[
+dictionary = [
None,
(0, 0),
(100, 200),
(0, 8 * 1024),
os.urandom(8 * 1024)
]
+
+
+@pytest.fixture(
+ params=dictionary,
+ ids=[
+ 'dictionary' + str(i) for i in range(len(dictionary))
+ ]
)
def dictionary(request):
return request.param
