[blivet:master 21/21] Set TmpFS._resizable to False.

mulhern amulhern at redhat.com
Thu Jan 15 18:39:48 UTC 2015


Hack the tests slightly to allow them to continue running.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fs.py          | 1 -
 tests/formats_test/fs_test.py | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index dc4d8a9..0bf3a66 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1523,7 +1523,6 @@ register_device_format(SysFS)
 class TmpFS(NoDevFS):
     _type = "tmpfs"
     _supported = True
-    _resizable = True
     # remounting can be used to change
     # the size of a live tmpfs mount
     _resizefs = "mount"
diff --git a/tests/formats_test/fs_test.py b/tests/formats_test/fs_test.py
index 8dd6569..69859ba 100755
--- a/tests/formats_test/fs_test.py
+++ b/tests/formats_test/fs_test.py
@@ -124,6 +124,7 @@ class ResizeTmpFSTestCase(loopbackedtestcase.LoopBackedTestCase):
     def __init__(self, methodName='runTest'):
         super(ResizeTmpFSTestCase, self).__init__(methodName=methodName)
         self.an_fs = fs.TmpFS()
+        self.an_fs.__class__._resizable = True
         self.mountpoint = None
 
     def setUp(self):
-- 
1.9.3



More information about the anaconda-patches mailing list