Make it so that we don't have two persons with the same name in the

test data (prevents the duplicate warning email from being generated
on each test run)
 - Legacy-Id: 11997
This commit is contained in:
Ole Laursen 2016-09-19 15:14:58 +00:00
parent ea6a016ee2
commit 0a8f3dbe02

View file

@ -219,7 +219,7 @@ def make_test_data():
mars_wg.save()
create_person(ames_wg, "chair", name="Ames Chair Man", username="ameschairman")
create_person(ames_wg, "delegate", name="WG Dèlegate", username="amesdelegate")
create_person(ames_wg, "delegate", name="Ames Delegate", username="amesdelegate")
create_person(ames_wg, "secr", name="Mr Secretary", username="amessecretary")
ames_wg.role_set.get_or_create(name_id='ad',person=ad,email=ad.role_email('ad'))
ames_wg.save()