* [gentoo-commits] gentoo-x86 commit in www-apps/blohg/files: blohg-0.9.1-fix_tests.patch
@ 2012-01-08 13:50 Rafael Martins (rafaelmartins)
0 siblings, 0 replies; 2+ messages in thread
From: Rafael Martins (rafaelmartins) @ 2012-01-08 13:50 UTC (permalink / raw
To: gentoo-commits
rafaelmartins 12/01/08 13:50:14
Added: blohg-0.9.1-fix_tests.patch
Log:
Revision bump, fixed tests for python-2.6. Fixed live ebuild, using EHG_REVISION=default.
(Portage version: 2.2.0_alpha84_p5/cvs/Linux x86_64)
Revision Changes Path
1.1 www-apps/blohg/files/blohg-0.9.1-fix_tests.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/files/blohg-0.9.1-fix_tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blohg/files/blohg-0.9.1-fix_tests.patch?rev=1.1&content-type=text/plain
Index: blohg-0.9.1-fix_tests.patch
===================================================================
# HG changeset patch
# User Rafael G. Martins <rafael@rafaelmartins.eng.br>
# Date 1326030133 7200
# Node ID bb6ae530f3475d08a1bbe04dd4b23fe29597a26c
# Parent 2133cc744722cf0bbe061c2958dd00a831c7b0e2
fix tests for python 2.6
diff -r 2133cc744722 -r bb6ae530f347 blohg/testsuite.py
--- a/blohg/testsuite.py Thu Jan 05 22:39:04 2012 -0200
+++ b/blohg/testsuite.py Sun Jan 08 11:42:13 2012 -0200
@@ -146,8 +146,8 @@
app = create_app(self.repo_path)
with app.test_request_context():
- with self.assertRaises(TemplateNotFound):
- app.jinja_loader.get_source(app.jinja_env, 'test.html')
+ self.assertRaises(TemplateNotFound, app.jinja_loader.get_source,
+ app.jinja_env, 'test.html')
new_file = os.path.join(self.repo_path, app.config['TEMPLATES_DIR'],
'test.html')
@@ -158,8 +158,8 @@
app.hg.reload()
with app.test_request_context():
- with self.assertRaises(TemplateNotFound):
- app.jinja_loader.get_source(app.jinja_env, 'test.html')
+ self.assertRaises(TemplateNotFound, app.jinja_loader.get_source,
+ app.jinja_env, 'test.html')
app.debug = True
app.hg.reload()
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in www-apps/blohg/files: blohg-0.9.1-fix_tests.patch
@ 2012-04-06 0:15 Rafael Martins (rafaelmartins)
0 siblings, 0 replies; 2+ messages in thread
From: Rafael Martins (rafaelmartins) @ 2012-04-06 0:15 UTC (permalink / raw
To: gentoo-commits
rafaelmartins 12/04/06 00:15:43
Removed: blohg-0.9.1-fix_tests.patch
Log:
Version bump. Clean 0.9.1.
(Portage version: 2.2.0_alpha90_p25/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-06 0:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-08 13:50 [gentoo-commits] gentoo-x86 commit in www-apps/blohg/files: blohg-0.9.1-fix_tests.patch Rafael Martins (rafaelmartins)
-- strict thread matches above, loose matches on Subject: below --
2012-04-06 0:15 Rafael Martins (rafaelmartins)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox