allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [24/38] git commit: [#4019] ticket:516 Remove print from test
Date Wed, 30 Apr 2014 18:15:56 GMT
[#4019] ticket:516 Remove print from test


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/5159b56e
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/5159b56e
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/5159b56e

Branch: refs/heads/master
Commit: 5159b56e4b7cdc2823f89273a08bdbea0a368a6b
Parents: ab8e1e1
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Feb 4 15:09:25 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Wed Apr 30 15:55:13 2014 +0000

----------------------------------------------------------------------
 Allura/allura/tests/test_helpers.py | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/5159b56e/Allura/allura/tests/test_helpers.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/test_helpers.py b/Allura/allura/tests/test_helpers.py
index 182144a..c901fbf 100644
--- a/Allura/allura/tests/test_helpers.py
+++ b/Allura/allura/tests/test_helpers.py
@@ -78,10 +78,7 @@ class TestMakeSafePathPortion(TestCase):
 def test_escape_json():
     inputdata = {"foo": "bar</script><img src=foobar onerror=alert(1)>"}
     outputsample = '{"foo": "bar\u003C/script>\u003Cimg src=foobar onerror=alert(1)>"}'
-
     outputdata = h.escape_json(inputdata)
-
-    print outputdata
     assert_equals(outputdata, outputsample)
 
 def test_really_unicode():


Mime
View raw message