提交 6e603e1f 编写于 作者: C Cleber Rosa

selftests/unit/test_utils_partition.py: simple style change

Using the builtin assertIsNone() method.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 cca6b173
......@@ -47,7 +47,7 @@ class TestPartition(unittest.TestCase):
def test_basic(self):
""" Test the basic workflow """
self.assertEqual(None, self.disk.get_mountpoint())
self.assertIsNone(self.disk.get_mountpoint())
self.disk.mkfs()
self.disk.mount()
with open("/proc/mounts") as proc_mounts_file:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册