From 7efab2f254a96a620283a22b4a573449fde39a77 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 14 Oct 2015 01:00:25 +0200 Subject: [PATCH] benchmark tests: improve comments --- borg/testsuite/benchmark.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/borg/testsuite/benchmark.py b/borg/testsuite/benchmark.py index 54d608a1a..5b5c38634 100644 --- a/borg/testsuite/benchmark.py +++ b/borg/testsuite/benchmark.py @@ -13,6 +13,7 @@ from .archiver import changedir, exec_cmd +# TODO: use fixture params to test python code and binary @pytest.fixture def cmd(): return exec_cmd @@ -41,7 +42,7 @@ def testdata(request, tmpdir_factory): p = tmpdir_factory.mktemp('data') data_type = request.param if data_type == 'zeros': - # note: do not use a binary zero (\0) to avoid sparse detection + # do not use a binary zero (\0) to avoid sparse detection data = lambda: b'0' * size if data_type == 'random': rnd = open('/dev/urandom', 'rb')