# HG changeset patch
# User alorimier <anael.lorimier@xcg-consulting.fr>
# Date 1370424389 -7200
#      Wed Jun 05 11:26:29 2013 +0200
# Node ID ba5f47b1001290f4adeb6b8b996cbf24483e1031
# Parent  f0b4763b9faf0b6613b727c241053fa34add11be
Remove Debug print

diff --git a/replace.py b/replace.py
--- a/replace.py
+++ b/replace.py
@@ -81,8 +81,6 @@
     base_img = '<img src="%s" />'
     imgsrc = base_img % img_url
 
-    print "*" * 35
-    print "Testing text replacement"
     new_text, values = insert_tracker_in_text(text, 'BASE', '1')
 
     assert len(values) == 1, "Values should contain only one record"
@@ -93,17 +91,13 @@
     assert track_uuid, "Track uuid should not be None"
 
     real_url = value.get("real_url", None)
-    print "Real URL was: %s" % real_url
 
     assert real_url == url, "Real URL should have been %s, not %s" % (
                 url, real_url)
     assert new_text == '%s/%s' % ('BASE', track_uuid)
 
-    print "*" * 35
-    print "Testing HTML replacement"
     new_html, values = insert_tracker_in_html(html, 'BASE', '1')
 
-    print new_html
     assert len(values) == 1, \
             "Values should have one record, not %s" % len(values)
 
@@ -113,18 +107,14 @@
     assert track_uuid, "Track uuid should not be None"
 
     real_url = value.get("real_url", None)
-    print "Real URL was: %s" % real_url
 
     assert real_url == url, "Real URL should have been %s, not %s" % (
         url, real_url)
     expected_html = base_html % ('BASE/' + track_uuid)
     assert new_html == expected_html
 
-    print "*" * 35
-    print "Testing img src replacement"
     new_html, values = insert_tracker_in_html(imgsrc, 'BASE', '1')
 
-    print new_html
     assert len(values) == 1, \
            "Values should have one record, not %s" % len(values)
 
@@ -134,7 +124,6 @@
     assert track_uuid, "Track uuid should not be None"
 
     real_url = value.get("real_url", None)
-    print "Real URL was: %s" % real_url
 
     assert real_url == img_url, "Real URL should have been %s, not %s" % (
         img_url, real_url)