diff options
author | drebs <drebs@riseup.net> | 2017-10-03 10:03:39 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-10-03 10:03:39 -0300 |
commit | 2af51b6665b90c7e9470aacde664ac6f44290a1d (patch) | |
tree | f7348afcf1df0b4b37b00d2e460d1749ae3a6742 /tests/benchmarks | |
parent | f167e95247ebffccb251af617cee911154603735 (diff) |
[test] add missing docstrings to some benchmark tests
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/test_sqlite_blobs_backend.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/benchmarks/test_sqlite_blobs_backend.py b/tests/benchmarks/test_sqlite_blobs_backend.py index e02cacad..8c6caa66 100644 --- a/tests/benchmarks/test_sqlite_blobs_backend.py +++ b/tests/benchmarks/test_sqlite_blobs_backend.py @@ -33,6 +33,9 @@ def create_put_test(amount, size): @pytest.inlineCallbacks @pytest.mark.sqlite_blobs_backend_put def test(txbenchmark, payload, tmpdir): + """ + Insert a certain amount of data in the sqlite blobs backend. + """ dbpath = os.path.join(tmpdir.strpath, 'blobs.db') backend = SQLiteBlobBackend(dbpath, key='123') data = payload(size) @@ -66,6 +69,9 @@ def create_get_test(amount, size): @pytest.inlineCallbacks @pytest.mark.sqlite_blobs_backend_get def test(txbenchmark, payload, tmpdir): + """ + Retrieve a certain amount of data from the sqlite blobs backend. + """ dbpath = os.path.join(tmpdir.strpath, 'blobs.db') backend = SQLiteBlobBackend(dbpath, key='123') data = payload(size) |