1import pytest 2 3 4class Test: 5 6 # @pytest.mark.parametrize('setup_teardown', [None], indirect=True) 7 def test(self, device): 8 crashes = device.hdc_shell('cd /data/log/faultlog/temp && grep "Process name" -rnw ./') 9 assert 'foundation' not in crashes, 'foundation crash exist' 10 assert 'render_service' not in crashes, 'render_service crash exist' 11 assert 'appspawn' not in crashes, 'appspawn crash exist' 12