Skip to content

Commit 2c28096

Browse files
committed
adjusted tests since test_func is expected to be async
1 parent e891c95 commit 2c28096

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_auth/test_mixins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ async def auser(request, user):
2424

2525

2626
class AlwaysTrueMixin(AsyncUserPassesTestMixin):
27-
def test_func(self):
27+
async def test_func(self):
2828
return True
2929

3030

3131
class AlwaysFalseMixin(AsyncUserPassesTestMixin):
32-
def test_func(self):
32+
async def test_func(self):
3333
return False
3434

3535

0 commit comments

Comments
 (0)