Ejemplo n.º 1
0
def test_compression_not_implemented():
    response = EventSourceResponse()
    with pytest.raises(NotImplementedError):
        response.enable_compression()
Ejemplo n.º 2
0
 def test_compression_not_implemented(self):
     response = EventSourceResponse()
     with self.assertRaises(NotImplementedError):
         response.enable_compression()