From: Thierry Parmentelat Date: Mon, 26 Jan 2009 12:20:28 +0000 (+0000) Subject: more reasonable names for ui X-Git-Tag: tests-4.3-0~22 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=641ae412b1d5479b2e1f1f5c1e94081c8eb3e63d;p=tests.git more reasonable names for ui --- diff --git a/system/plcsh-stress-test.py b/system/plcsh-stress-test.py index 1e3ded9..ae4849f 100755 --- a/system/plcsh-stress-test.py +++ b/system/plcsh-stress-test.py @@ -132,8 +132,8 @@ def random_address(): def random_person(): return { - 'first_name': randstr(128), - 'last_name': randstr(128), + 'first_name': randstr(namelengths['first_name']), + 'last_name': randstr(namelengths['last_name']), 'email': randemail(), 'bio': randstr(254), # Accounts are disabled by default @@ -267,6 +267,8 @@ class Test: 'sitename':254, 'abbreviated_name':50, 'model':255, + 'first_name':128, + 'last_name':128, 'email':100, } @@ -279,6 +281,8 @@ class Test: 'abbreviated_name':24, 'abbreviated_name_contents':letters+digits+whitespace+punctuation, 'model':40, + 'first_name':12, + 'last_name':20, 'email':24, }