]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
tests: Create default ns on tearDown
authorDennis Maisenbacher <dennis.maisenbacher@wdc.com>
Fri, 25 Oct 2024 06:27:28 +0000 (06:27 +0000)
committerDaniel Wagner <wagi@monom.org>
Tue, 29 Oct 2024 06:37:41 +0000 (07:37 +0100)
commiteb33dbb443499f0d05c45e417542bcfefd1c6322
treed073cb786c3a24d5b30d21d94901344ffc7879e6
parent67bd20efb0198b8cdc97240e285455cbc5d5f0ef
tests: Create default ns on tearDown

After a test was run, the `tearDown` function is called and then creates
and attaches a single ns with the full NVM capacity.
This is done so the caller or the next test case receives a reasonably
formated drive.

Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
tests/nvme_test.py