Alexander Todorov
2015-05-25 14:20:10 UTC
Hi guys,
I'm looking into how blivet tests actually work and so far have noticed a few
things which are not clear to me. Can you please provide more info:
* tests/lib/testlib.sh looks like it is not used anywhere. If so maybe it can be
removed ?
* tests.loopbackedtestcase.LoopBackedTestCase.__init__() says
* What is the StorageTestCase class ? In particular StorageTestCase is used only
in action_test.py and although it claims to be a base class for storage test
cases I don't see it used anywhere. Maybe we can refactor action_test.py and get
rid of it?
* What is the difference between LoopBackedTestCase and ImageBackedTestCase ?
These two appear to be what pretty much everything else inherits from.
Thanks,
Alex
I'm looking into how blivet tests actually work and so far have noticed a few
things which are not clear to me. Can you please provide more info:
* tests/lib/testlib.sh looks like it is not used anywhere. If so maybe it can be
removed ?
* tests.loopbackedtestcase.LoopBackedTestCase.__init__() says
DevicelibsTestCase manages loop devices.
but I don't see a class with that name. Should it be removed/updated ?* What is the StorageTestCase class ? In particular StorageTestCase is used only
in action_test.py and although it claims to be a base class for storage test
cases I don't see it used anywhere. Maybe we can refactor action_test.py and get
rid of it?
* What is the difference between LoopBackedTestCase and ImageBackedTestCase ?
These two appear to be what pretty much everything else inherits from.
Thanks,
Alex