Create our various bot users without subscriptions.

(imported from commit 9f9249cdb295f147d8b8b5cef17709c9aaa66418)
This commit is contained in:
Tim Abbott 2012-11-06 15:26:41 -05:00
parent 837fdca1c4
commit 6a690d4d4a
1 changed files with 7 additions and 0 deletions

View File

@ -199,6 +199,13 @@ class Command(BaseCommand):
subscriptions_to_add.append(s)
batch_bulk_create(Subscription, subscriptions_to_add)
internal_humbug_users_nosubs = [
("Humbug Commit Bot", "humbug+commits@humbughq.com"),
("Humbug Trac Bot", "humbug+trac@humbughq.com"),
("Humbug Feedback Bot", "feedback@humbughq.com"),
]
create_users(realms, internal_humbug_users_nosubs)
self.stdout.write("Successfully populated test database.\n")
if options["replay_old_messages"]:
restore_saved_messages()