mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 13:11:55 +00:00
python: pin core libs release with sha-256
This commit is contained in:
1 parent
6e25728ff4
commit
0a27d1a125
4 files changed
+69
-20
No files matched your search
@@ -3,7 +3,7 @@ from unittest.mock import patch
|
||||
import pytest
|
||||
|
||||
from simplex_chat._native import _libname, _libs_url, _platform_tag
|
||||
from simplex_chat._version import LIBS_VERSION
|
||||
from simplex_chat._version import LIBS_RELEASE
|
||||
|
||||
|
||||
@patch("sys.platform", "linux")
|
||||
@@ -45,7 +45,7 @@ def test_url_sqlite(_):
|
||||
assert (
|
||||
_libs_url("sqlite")
|
||||
== "https://github.com/simplex-chat/simplex-chat-libs/releases/download/"
|
||||
f"v{LIBS_VERSION}/simplex-chat-libs-linux-x86_64.zip"
|
||||
f"{LIBS_RELEASE}/simplex-chat-libs-linux-x86_64.zip"
|
||||
)
|
||||
|
||||
|
||||
@@ -54,5 +54,5 @@ def test_url_postgres(_):
|
||||
assert (
|
||||
_libs_url("postgres")
|
||||
== "https://github.com/simplex-chat/simplex-chat-libs/releases/download/"
|
||||
f"v{LIBS_VERSION}/simplex-chat-libs-linux-x86_64-postgres.zip"
|
||||
f"{LIBS_RELEASE}/simplex-chat-libs-linux-x86_64-postgres.zip"
|
||||
)
|
||||
Reference in new issue
Block a user