kfet/open: Add comment to test
This commit is contained in:
parent
81a4dbef7c
commit
a69bd0426f
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ class OpenKfetConsumerTest(TestCase):
|
||||||
async def test_team_user(self):
|
async def test_team_user(self):
|
||||||
"""Team user is added to kfet.open.team group."""
|
"""Team user is added to kfet.open.team group."""
|
||||||
|
|
||||||
|
# On simule l'appartenance de l'user à la team kfet car l'utilisation de
|
||||||
|
# tests async avec postgres fait tout planter si on modifie la db dans un
|
||||||
|
# des sous tests.
|
||||||
with mock.patch("gestioncof.signals.messages"), mock.patch(
|
with mock.patch("gestioncof.signals.messages"), mock.patch(
|
||||||
"kfet.open.consumers.kfet_is_team", return_value=True
|
"kfet.open.consumers.kfet_is_team", return_value=True
|
||||||
):
|
):
|
||||||
|
|
Loading…
Reference in a new issue