DEV Community


Posted on

Django does not pass new data to my the consumers in testing

  • Intro: I am following this tutorial django channles.
  • Problem: The new data does not pass to the consumer or any functions unlike the regular testing with Django testcase or with RestApi testcase.
class ChatTests(ChannelsLiveServerTestCase)
    serve_static = True  # emulate StaticLiveServerTestCase

    def setUp(self):
        from Functions.TestClass import make_test_data

Latest comments (0)