Add validated OTA candidate publishing and fix 1.1.2 dependency failure
This commit is contained in:
@@ -71,7 +71,10 @@ def test_invalid_hello_and_json():
|
||||
|
||||
|
||||
def test_shared_golden_vector():
|
||||
path = Path(__file__).resolve().parents[2] / '移动端相关内容/安卓app/安卓程序源代码/sharedCore/src/jvmTest/resources/protocol-v1.json'
|
||||
path = Path(__file__).resolve().parent / 'fixtures/protocol-v1.json'
|
||||
mobile_copy = Path(__file__).resolve().parents[2] / '移动端相关内容/安卓app/安卓程序源代码/sharedCore/src/jvmTest/resources/protocol-v1.json'
|
||||
if mobile_copy.is_file():
|
||||
assert path.read_bytes() == mobile_copy.read_bytes()
|
||||
vector = json.loads(path.read_text(encoding='utf-8'))
|
||||
def raw(key):
|
||||
return bytes.fromhex(vector[key])
|
||||
|
||||
Reference in New Issue
Block a user