How to set up a django test server when using gunicorn?
Off top of my head, you can try to override LiveServerTestCase.setUpClass and wind up gunicorn instead of LiveServerThread
I am running an app in django with gunicorn. I am trying to use selenium to test my app but have run into a problem.
I need to create a test server like is done with djangos LiveServerTestCase that will work with gunicorn.
Does anyone have any ideas of how i could do this?
note: could also someone confirm me that LiveServerTestCase is executed as a thread not a process