pakjoy: Add more hardcoded IDs and fix tests
This commit is contained in:
parent
bcf792a0dc
commit
2088ecebd9
|
|
@ -38,12 +38,16 @@ from qutebrowser.utils import qtutils, standarddir, version, utils, log
|
|||
|
||||
HANGOUTS_MARKER = b"// Extension ID: nkeimhogjdpnpccoofpliimaahmaaome"
|
||||
HANGOUTS_IDS = [
|
||||
# Linux
|
||||
41262, # QtWebEngine 6.7
|
||||
36197, # QtWebEngine 6.6
|
||||
34897, # QtWebEngine 6.5
|
||||
32707, # QtWebEngine 6.4
|
||||
27537, # QtWebEngine 6.3
|
||||
23607, # QtWebEngine 6.2
|
||||
|
||||
248, # macOS
|
||||
381, # Windows
|
||||
]
|
||||
PAK_VERSION = 5
|
||||
RESOURCES_ENV_VAR = "QTWEBENGINE_RESOURCES_PATH"
|
||||
|
|
|
|||
|
|
@ -195,6 +195,7 @@ def read_patched_manifest():
|
|||
class TestWithRealResourcesFile:
|
||||
"""Tests that use the real pak file form the Qt installation."""
|
||||
|
||||
@pytest.mark.qt6_only
|
||||
def test_happy_path(self):
|
||||
# Go through the full patching processes with the real resources file from
|
||||
# the current installation. Make sure our replacement string is in it
|
||||
|
|
@ -254,6 +255,7 @@ class TestWithRealResourcesFile:
|
|||
"Not applying quirks. Expected location: "
|
||||
)
|
||||
|
||||
@pytest.mark.qt6_only
|
||||
def test_hardcoded_ids(self):
|
||||
"""Make sure we hardcoded the currently valid ID.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue