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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.