test_api_base: run the test for more than one file
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 26 Nov 2012 11:41:39 +0000 (13:41 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Mon, 26 Nov 2012 12:05:45 +0000 (14:05 +0200)
commit49567c1a16ff1e5d39609d4449c46655f5b2fe2e
treef90d2824bf180bf156c96394b67f0ee40980563f
parent65e1c6d000b5ae2965142cdca7598a50fa134103
test_api_base: run the test for more than one file

Instead of running the test of one file of 64MiB, run it 3 times for files of
the following sizes:

1. 8MiB
2. 8MiB + 1 byte
3. 8MiB - 1 byte

This gives better coverage.

Change-Id: I4ea4f5f92dc32c1d8fbf9ea0173b7c39a294968d
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
tests/test_api_base.py