1import adb_utils 2 3# pip imports 4import pytest 5 6def test_parse_time_to_milliseconds(): 7 # Act 8 result1 = adb_utils.parse_time_to_milliseconds('+1s7ms') 9 result2 = adb_utils.parse_time_to_milliseconds('+523ms') 10 11 # Assert 12 assert result1 == 1007 13 assert result2 == 523 14 15if __name__ == '__main__': 16 pytest.main() 17