def test_can_get_image_with_invalid_quantization_table(self):
     response = self.fetch('/unsafe/invalid_quantization.jpg')
     expect(response.code).to_equal(200)
     expect(response.body).to_be_similar_to(invalid_quantization())
Exemple #2
0
 def test_can_get_image_with_invalid_quantization_table(self):
     response = self.fetch('/unsafe/invalid_quantization.jpg')
     expect(response.code).to_equal(200)
     expect(response.body).to_be_similar_to(invalid_quantization())