test/boot: skip unless we can bind mount
We need to be able to bind-mount in the boot tests, so skip all of those if we can't (because we are not root).
This commit is contained in:
parent
18fc8aa85e
commit
83aa4a29df
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ from .. import test
|
|||
|
||||
|
||||
@unittest.skipUnless(test.TestBase.have_test_data(), "no test-data access")
|
||||
@unittest.skipUnless(test.TestBase.can_bind_mount(), "root-only")
|
||||
class TestBoot(test.TestBase):
|
||||
def setUp(self):
|
||||
self.osbuild = test.OSBuild(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue