From 641ae412b1d5479b2e1f1f5c1e94081c8eb3e63d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 26 Jan 2009 12:20:28 +0000 Subject: [PATCH] more reasonable names for ui --- system/plcsh-stress-test.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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, } -- 2.47.0