chore: fix test fixtures and asset names for UmbraEdit rename
Some checks failed
Syntax / Linting and Type Checking (push) Has been cancelled
Tests / Linux Python 3.11 (push) Has been cancelled
Tests / Linux Python 3.12 (push) Has been cancelled
Tests / Linux Python 3.13 (push) Has been cancelled
Tests / Linux Python 3.14 (push) Has been cancelled
Tests / Linux Python 3.15 (push) Has been cancelled
Tests / MacOS Python 3.14 (push) Has been cancelled
Tests / Windows Python 3.14 (push) Has been cancelled
Tests / PR Coverage Report (push) Has been cancelled
Tests / Action Coverage Report (push) Has been cancelled
Tests / Ubuntu 24.04 & Sys Packages (push) Has been cancelled
Tests / Fedora 44 & Sys Packages (push) Has been cancelled

- Rename test fixture files: config_novelwriter.toml -> config_umbraedit.toml
- Rename test fixture files: old_novelwriter.conf -> old_umbraedit.conf
- Rename test fixture files: nw_en_GB.qm -> ue_en_GB.qm
- Rename asset files: novelwriter-text-*.svg -> umbraedit-text-*.svg
- Rename asset files: novelwriter.svg/ico -> umbraedit.svg/ico
- Rename asset files: x-novelwriter-project.* -> x-umbraedit-project.*
- Fix test references to _nwLangPath -> _ueLangPath
- Bump version to 1.0.0 (first UmbraEdit release)
- All 735 tests pass, 2 skipped
This commit is contained in:
B.D. Murphy
2026-11-05 07:36:45 -08:00
parent 7bb3fc581b
commit 026f486b3e
15 changed files with 116 additions and 116 deletions

BIN
UmbraEdit.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

View File

@@ -171,7 +171,7 @@ def testGuiPreferences_Settings(
(fncPath / "ue_en_US.qm").touch()
(fncPath / "project_en_US.json").touch()
CONFIG._nwLangPath = fncPath
CONFIG._ueLangPath = fncPath
SHARED.theme._allThemes = {
"theme1": ThemeEntry(name="Theme 1", dark=False, path=fncPath),
"theme2": ThemeEntry(name="Theme 2", dark=False, path=fncPath),

View File

@@ -119,7 +119,7 @@ def testGuiProjectSettings_SettingsPage(
(fncPath / "ue_de.qm").touch()
(fncPath / "project_en.json").touch()
(fncPath / "project_de.json").touch()
CONFIG._nwLangPath = fncPath
CONFIG._ueLangPath = fncPath
# Create new project
buildTestProject(NWProject(), projPath)

View File

@@ -237,7 +237,7 @@ def testConfig_Localisation(fncPath: Path, tstPaths: TstPaths):
i18nDir = fncPath / "i18n"
i18nDir.mkdir()
conf._nwLangPath = i18nDir
conf._ueLangPath = i18nDir
copyfile(tstPaths.filesDir / "ue_en_GB.qm", i18nDir / "ue_en_GB.qm")
writeFile(i18nDir / "ue_en_GB.ts", "")

View File

@@ -50,7 +50,7 @@ __license__ = "GPLv3"
__author__ = "Veronica Berglyd Olsen"
__maintainer__ = "Veronica Berglyd Olsen"
__email__ = "code@vkbo.net"
__version__ = "26.3b1"
__version__ = "1.0.0"
__hexversion__ = "0x260300b1"
__date__ = "2026-10-20"
__status__ = "Stable"

View File

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

224
uv.lock generated
View File

@@ -554,118 +554,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/54/c8/12811c9b48fde162bb72b6f2e78fada9a247a09d7bb5be2050a5d099c77b/nodeenv-1.11.0-py2.py3-none-any.whl", hash = "sha256:edaa16e6c14d7cf395d75d4bbd5a26390f4dc06501a33b4e76282b02cc688a25", size = 34277, upload-time = "2026-09-26T11:29:19.933Z" },
]
[[package]]
name = "novelwriter"
source = { editable = "." }
dependencies = [
{ name = "pyenchant" },
{ name = "pyobjc-framework-cocoa", marker = "sys_platform == 'darwin'" },
{ name = "pyqt6" },
]
[package.dev-dependencies]
build = [
{ name = "pyyaml" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
dev = [
{ name = "coverage" },
{ name = "docutils", version = "0.22.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" },
{ name = "docutils", version = "0.23", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "pygments" },
{ name = "pyright" },
{ name = "pytest" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "pyyaml" },
{ name = "ruff" },
{ name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
{ name = "sphinx", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" },
{ name = "sphinx", version = "9.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
docs = [
{ name = "docutils", version = "0.22.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" },
{ name = "docutils", version = "0.23", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "pygments" },
{ name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
{ name = "sphinx", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" },
{ name = "sphinx", version = "9.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
]
lint = [
{ name = "pyright" },
{ name = "ruff" },
]
test = [
{ name = "coverage" },
{ name = "pytest" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
[package.metadata]
requires-dist = [
{ name = "pyenchant", specifier = ">=3.3.0" },
{ name = "pyobjc-framework-cocoa", marker = "sys_platform == 'darwin'" },
{ name = "pyqt6", specifier = ">=6.4" },
]
[package.metadata.requires-dev]
build = [
{ name = "pyyaml" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
dev = [
{ name = "coverage", specifier = ">=7.16.0" },
{ name = "docutils", specifier = ">=0.17.1" },
{ name = "pygments", specifier = ">=2.7" },
{ name = "pyright" },
{ name = "pytest", specifier = ">=6.0.0" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "pyyaml" },
{ name = "ruff" },
{ name = "sphinx", specifier = ">=5.0" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
docs = [
{ name = "docutils", specifier = ">=0.17.1" },
{ name = "pygments", specifier = ">=2.7" },
{ name = "sphinx", specifier = ">=5.0" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
]
lint = [
{ name = "pyright" },
{ name = "ruff" },
]
test = [
{ name = "coverage", specifier = ">=7.16.0" },
{ name = "pytest", specifier = ">=6.0.0" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
[[package]]
name = "packaging"
version = "26.3"
@@ -1259,6 +1147,118 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/94/21/1e5995a1c920cce14e4bffae20c665ec10e7ed03ab25e006cd741092b718/tzdata-2026.5-py2.py3-none-any.whl", hash = "sha256:b683bd1b6659ddcd810ff02ad09ba821d4bf1065072805063eb35c49617905ac", size = 347996, upload-time = "2026-10-03T09:23:12.535Z" },
]
[[package]]
name = "umbraedit"
source = { editable = "." }
dependencies = [
{ name = "pyenchant" },
{ name = "pyobjc-framework-cocoa", marker = "sys_platform == 'darwin'" },
{ name = "pyqt6" },
]
[package.dev-dependencies]
build = [
{ name = "pyyaml" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
dev = [
{ name = "coverage" },
{ name = "docutils", version = "0.22.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" },
{ name = "docutils", version = "0.23", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "pygments" },
{ name = "pyright" },
{ name = "pytest" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "pyyaml" },
{ name = "ruff" },
{ name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
{ name = "sphinx", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" },
{ name = "sphinx", version = "9.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
docs = [
{ name = "docutils", version = "0.22.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.13'" },
{ name = "docutils", version = "0.23", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "pygments" },
{ name = "sphinx", version = "9.0.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
{ name = "sphinx", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.12.*'" },
{ name = "sphinx", version = "9.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
]
lint = [
{ name = "pyright" },
{ name = "ruff" },
]
test = [
{ name = "coverage" },
{ name = "pytest" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
[package.metadata]
requires-dist = [
{ name = "pyenchant", specifier = ">=3.3.0" },
{ name = "pyobjc-framework-cocoa", marker = "sys_platform == 'darwin'" },
{ name = "pyqt6", specifier = ">=6.4" },
]
[package.metadata.requires-dev]
build = [
{ name = "pyyaml" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
dev = [
{ name = "coverage", specifier = ">=7.16.0" },
{ name = "docutils", specifier = ">=0.17.1" },
{ name = "pygments", specifier = ">=2.7" },
{ name = "pyright" },
{ name = "pytest", specifier = ">=6.0.0" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "pyyaml" },
{ name = "ruff" },
{ name = "sphinx", specifier = ">=5.0" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
docs = [
{ name = "docutils", specifier = ">=0.17.1" },
{ name = "pygments", specifier = ">=2.7" },
{ name = "sphinx", specifier = ">=5.0" },
{ name = "sphinx-book-theme" },
{ name = "sphinx-copybutton" },
{ name = "sphinx-design" },
{ name = "sphinx-favicon" },
{ name = "sphinx-intl" },
]
lint = [
{ name = "pyright" },
{ name = "ruff" },
]
test = [
{ name = "coverage", specifier = ">=7.16.0" },
{ name = "pytest", specifier = ">=6.0.0" },
{ name = "pytest-qt" },
{ name = "pytest-timeout" },
{ name = "tzdata", marker = "sys_platform == 'win32'" },
]
[[package]]
name = "urllib3"
version = "2.8.0"