Changes between Version 3 and Version 4 of Ticket #35245, comment 4


Ignore:
Timestamp:
Feb 23, 2024, 2:37:11 AM (9 months ago)
Author:
willzhao

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35245, comment 4

    v3 v4  
    1 Tried to write a UT in [https://github.com/django/django/blob/b9d539cca79d8100b24b30fabdb21d10154634ec/tests/async/test_async_queryset.py] based on OP's case: [https://github.com/LuisGMM/django_bug/blob/a43fb2584c7a15ecd2ada16b9f90fe1df7fe841c/project/app/providers/base.py#L8] .
     1Tried to write UTs in [https://github.com/django/django/blob/b9d539cca79d8100b24b30fabdb21d10154634ec/tests/async/test_async_queryset.py] based on OP's case: [https://github.com/LuisGMM/django_bug/blob/a43fb2584c7a15ecd2ada16b9f90fe1df7fe841c/project/app/providers/base.py#L8] .
    22{{{#!python
    33    async def test_afirst_gather(self):
     
    1717        self.assertEqual(instance[0], self.s1)
    1818}}}
    19 This UT works fine so I think the issue is not related to asyncio.gather and async ORM call.
     19UTs work fine so I think the issue is not related to asyncio.gather and async ORM call.
Back to Top