def test_re(self): print "\n\n\n\n\n---------- TESTING RE---------" p = PixMatch() url = "Check out this picture yo! http://dev:8000/site-media/static/images/memes/HACKWATERLOO-Y-U-NO-ENJOY-SUNLIGHT.jpg its awesome/." output = p.run(url) print output
def test_basic(self): p = PixMatch() url = "http://dev:8000/site-media/static/images/memes/HACKWATERLOO-Y-U-NO-ENJOY-SUNLIGHT.jpg" output = p.process(url) print output