test/py: test_part: Correct the test case name
Use test_part_types as the name instead of dm_compact.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/test/py/tests/test_part.py b/test/py/tests/test_part.py
index cba9804..2b51846 100644
--- a/test/py/tests/test_part.py
+++ b/test/py/tests/test_part.py
@@ -7,7 +7,7 @@
@pytest.mark.buildconfigspec('cmd_part')
@pytest.mark.buildconfigspec('partitions')
@pytest.mark.buildconfigspec('efi_partition')
-def test_dm_compat(u_boot_console):
+def test_part_types(u_boot_console):
"""Test that `part types` prints a result which includes `EFI`."""
output = u_boot_console.run_command('part types')
assert "Supported partition tables:" in output