2006-08-27 Alex Roitman <shura@gramps-project.org>

* src/plugins/TestcaseGenerator.py: Bring somewhat up to date.
	* NEWS: New release name.



svn: r7274
This commit is contained in:
Alex Roitman
2006-08-27 07:30:59 +00:00
parent 132746bdd2
commit 55132eb0a7
3 changed files with 9 additions and 4 deletions

View File

@@ -51,6 +51,7 @@ import RelLib
from PluginUtils import Tool, register_tool
import const
import Utils
import LdsUtils
from QuestionDialog import ErrorDialog
from DateHandler import parser as _dp
from DateHandler import displayer as _dd
@@ -1206,8 +1207,8 @@ class TestcaseGenerator(Tool.Tool):
e = RelLib.Event()
self.fill_object(e)
e.set_type( type)
if randint(0,1) == 1:
e.set_cause( self.rand_text(self.SHORT))
#if randint(0,1) == 1:
# e.set_cause( self.rand_text(self.SHORT))
if randint(0,1) == 1:
e.set_description( self.rand_text(self.LONG))
if randint(0,1) == 1: