k1x-factorytest/tests/auto/test_05_emmc.py
2024-04-22 13:45:53 +08:00

19 lines
No EOL
416 B
Python

from unittest import TestCase
import os
class eMMCTest(TestCase):
LANGUAGES = {
'zh': {
'eMMCTest': 'eMMC',
'test_identify': '识别'
},
'en': {
'eMMCTest': 'eMMC',
'test_identify': 'Identify'
}
}
def test_identify(self):
block_file = '/sys/class/block/mmcblk2'
self.assertTrue(os.path.exists(block_file))