Drop language setting on new project form

This commit is contained in:
Veronica Berglyd Olsen
2024-02-20 23:07:32 +01:00
parent 4bf82e4df7
commit f0e86dad10
5 changed files with 18 additions and 29 deletions
+4 -5
View File
@@ -509,7 +509,6 @@ def testCoreTools_ProjectBuilderCopyPlain(monkeypatch, caplog, mockGUI, prjLipsu
data = {
"name": "Test Project",
"author": "Jane Doe",
"language": "en_US",
"path": dstPath,
"template": srcPath,
}
@@ -556,9 +555,9 @@ def testCoreTools_ProjectBuilderCopyPlain(monkeypatch, caplog, mockGUI, prjLipsu
assert srcProject.data.author == "lipsum.com"
assert dstProject.data.author == "Jane Doe"
# Language should be different
# Language should be the same
assert srcProject.data.language == "en_GB"
assert dstProject.data.language == "en_US"
assert dstProject.data.language == "en_GB"
# Counts should be more or less zeroed
assert dstProject.data.saveCount < 5
@@ -634,9 +633,9 @@ def testCoreTools_ProjectBuilderCopyZipped(monkeypatch, caplog, mockGUI, fncPath
assert srcProject.data.author == "Jane Doe"
assert dstProject.data.author == "Jane Doe"
# Language should be different
# Language should be the same
assert srcProject.data.language is None
assert dstProject.data.language == "en_US"
assert dstProject.data.language is None
# Counts should be more or less zeroed
assert dstProject.data.saveCount < 5