Add coverage of some partially covered functions

This commit is contained in:
Veronica K. B. Olsen
2020-09-29 23:47:06 +02:00
parent e251ddacd2
commit e721fbbdb7
4 changed files with 26 additions and 3 deletions
+1 -1
View File
@@ -981,7 +981,7 @@ class NWProject():
def setProjBackup(self, doBackup):
"""Set whether projects should be backed up or not. The user
will notified in case dependant settings are missing.
will be notified in case required settings are missing.
"""
self.doBackup = doBackup
if doBackup:
-1
View File
@@ -121,7 +121,6 @@ def numberToWord(numVal, theLanguage):
numWord = _numberToWordEN(numVal)
else:
numWord = _numberToWordEN(numVal)
# print("%4d : %s" % (numVal, numWord))
return numWord
def _numberToWordEN(numVal):