def test_bad_image_dimensions(self):
        url = 'http://lassie.it/core/bad_image_dimensions.html'

        l = Lassie()
        data = l.fetch(url, all_images=True)

        # lassie.utils.convert_to_int will except a TypeError or ValueError and pass (not setting a width/height on the image)
        image = data['images'][0]
        self.assertTrue(not 'width' in image)
        self.assertTrue(not image in 'height')
dataset/ETHPy150Open michaelhelmick/lassie/tests/test_core.py/LassieCoreTestCase.test_bad_image_dimensions/swapped operands of `in`