소스 검색

benchmark tests: improve comments

Thomas Waldmann 9 년 전
부모
커밋
7efab2f254
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      borg/testsuite/benchmark.py

+ 2 - 1
borg/testsuite/benchmark.py

@@ -13,6 +13,7 @@ import pytest
 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')