Hi,
We have been developing our REST API with Django and Django-rest for some time, and we are using behave for integration test and first of all - huge thanks - it's a great tool. However, we have switched from Django 2.2 to 3.2 to support async calls as we have many I/O calls to other components.
All went fine but the behave tests started to fail - to be specific: views don't return response from time to time (all code gets executed just fine, and it just gets stuck on return Response()).
We suspect that it's because behaves uses WSGI and not ASGI server to run our Django instance... so the question is... can we run behave with ASGI server?
Hi,
We have been developing our REST API with Django and Django-rest for some time, and we are using behave for integration test and first of all - huge thanks - it's a great tool. However, we have switched from Django 2.2 to 3.2 to support async calls as we have many I/O calls to other components.
All went fine but the behave tests started to fail - to be specific: views don't return response from time to time (all code gets executed just fine, and it just gets stuck on return Response()).
We suspect that it's because behaves uses WSGI and not ASGI server to run our Django instance... so the question is... can we run behave with ASGI server?