aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_libmount.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_libmount.py')
-rw-r--r--tests/test_libmount.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_libmount.py b/tests/test_libmount.py
index 7d02d1a..d60c6da 100644
--- a/tests/test_libmount.py
+++ b/tests/test_libmount.py
@@ -78,7 +78,9 @@ class LibMountTests(TestCase):
]
for flag in flags:
with self.subTest(flag=flag), self.get_mount() as path:
+ self.assertTrue(path.is_mount())
libmount.unmount(path, flag)
+ self.assertFalse(path.is_mount())
def test_unmount_flags_expire(self):
"""Test unmount MNT_EXPIRE behavior."""