Cannot successfully upload file in a ChannelsLiveServerTestCase server

4 views
Skip to first unread message

Jerald Talledo

unread,
Apr 26, 2021, 7:40:17 AM4/26/21
to Django users
I am using ChannelsLiveServerTestCase to spin up a server for testing in behave for a reason that the StaticLiveServerTestCase does not support websockets. My issue is after changing to ChannelsLiveServerTestCase one of my feature which have to upload a file is now failing I am not sure if uploading file is supported in ChannelsLiveServerTestCase or is there a workaround for StaticLiveServerTestCase to support websockets.

Cheers,

Jerald
Reply all
Reply to author
Forward
0 new messages