It would be handy to have a flag for generated users so hook_user_* hooks could do special operations on them. Simple patch just adds a 'devel_generate' = 1 flag on the user edit array during generation.

Files: 
CommentFileSizeAuthor
#2 devel_generate.user_flag.patch580 bytesduellj
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel_generate.user_flag_0.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]
devel_generate.user_flag.patch577 bytesduellj
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel_generate.user_flag.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

Comments

Status:Needs review» Needs work

OK, but should be TRUE, not 1. That would match nodes.

StatusFileSize
new580 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch devel_generate.user_flag_0.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots.
[ View ]

Good point, updated path to be TRUE instead of 1

Status:Needs work» Needs review

Status:Needs review» Fixed

committed. thanks.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.