diff options
Diffstat (limited to 'packages/meshbay-node/tests/test_packaging_win.py')
| -rw-r--r-- | packages/meshbay-node/tests/test_packaging_win.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/meshbay-node/tests/test_packaging_win.py b/packages/meshbay-node/tests/test_packaging_win.py index 69eefc8..ed8104f 100644 --- a/packages/meshbay-node/tests/test_packaging_win.py +++ b/packages/meshbay-node/tests/test_packaging_win.py @@ -173,7 +173,10 @@ def test_the_frozen_exe_carries_a_version_resource(): spec = (WIN / "meshbay-node.spec").read_text(encoding="utf-8") assert "VSVersionInfo" in spec assert "version=_version_info" in spec, "EXE() is not given the version resource" - assert 'StringStruct("ProductName", "MeshBay Node")' in spec + assert '_version_info = _version_resource("meshbay-node", "MeshBay Node")' in spec + assert 'StringStruct("ProductName", description)' in spec + # The command-line client beside it, under its own name. + assert 'version=_version_resource("meshbay-cli", "MeshBay command-line client")' in spec assert '_pkg_version("meshbay-node")' in spec, "version is hardcoded, not read from the package" |