Skip to content

Commit c8ccfbe

Browse files
committed
feat: randomize creator of generated issues.
All the issues used to be created by admin. This randomly chooses a user (except anonymous) to create an issue.
1 parent a6bd221 commit c8ccfbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/load_tracker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
status = random.choice(statuses)
8181
else:
8282
status = resolved_id
83+
db.journaltag = db.user.get(random.choice(users), 'username')
8384
db.issue.create(
8485
title=random.choice(titles),
8586
priority=random.choice(priorities),

0 commit comments

Comments
 (0)