forked from DGNum/gestioCOF
style -- black
This commit is contained in:
parent
49a74e8e1e
commit
8be913cbf9
1 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ class RegistrationViewTests(ViewTestCaseMixin, TestCase):
|
||||||
"last_name": "last",
|
"last_name": "last",
|
||||||
"email": "username@mail.net",
|
"email": "username@mail.net",
|
||||||
"is_cof": "1",
|
"is_cof": "1",
|
||||||
}
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ class RegistrationViewTests(ViewTestCaseMixin, TestCase):
|
||||||
"email": "user@mail.net",
|
"email": "user@mail.net",
|
||||||
"is_cof": "1",
|
"is_cof": "1",
|
||||||
"user_exists": "1",
|
"user_exists": "1",
|
||||||
}
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ class RegistrationViewTests(ViewTestCaseMixin, TestCase):
|
||||||
|
|
||||||
data = dict(
|
data = dict(
|
||||||
self._minimal_data,
|
self._minimal_data,
|
||||||
**{"username": u.username, "email": "user@mail.net", "user_exists": "1"}
|
**{"username": u.username, "email": "user@mail.net", "user_exists": "1"},
|
||||||
)
|
)
|
||||||
if is_cof:
|
if is_cof:
|
||||||
data["is_cof"] = "1"
|
data["is_cof"] = "1"
|
||||||
|
@ -197,7 +197,7 @@ class RegistrationViewTests(ViewTestCaseMixin, TestCase):
|
||||||
"events-0-option_{}".format(o2.pk): [str(oc3.pk)],
|
"events-0-option_{}".format(o2.pk): [str(oc3.pk)],
|
||||||
"events-0-comment_{}".format(cf1.pk): "comment 1",
|
"events-0-comment_{}".format(cf1.pk): "comment 1",
|
||||||
"events-0-comment_{}".format(cf2.pk): "",
|
"events-0-comment_{}".format(cf2.pk): "",
|
||||||
}
|
},
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue