[damned-lies] Make feeds test pass independently of db ids
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Make feeds test pass independently of db ids
- Date: Sat, 21 May 2011 19:34:41 +0000 (UTC)
commit 91012ca3b5d8c0c44a2daa12c0cc7db9af2cbb72
Author: Claude Paroz <claude 2xlibre net>
Date: Sat May 21 21:08:51 2011 +0200
Make feeds test pass independently of db ids
vertimus/tests/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vertimus/tests/__init__.py b/vertimus/tests/__init__.py
index b83b3cd..f8a119b 100644
--- a/vertimus/tests/__init__.py
+++ b/vertimus/tests/__init__.py
@@ -397,7 +397,7 @@ class VertimusTest(TeamsAndRolesTests):
self.assertContains(response,
"""<title>po (gedit/User Interface) - gedit (gnome-2-24) - Reserve for translation\n</title>""")
self.assertContains(response,
- """<guid>http://example.com/vertimus/gedit/gnome-2-24/po/fr#1</guid>""")
+ """<guid>http://example.com/vertimus/gedit/gnome-2-24/po/fr#%d</guid>""" % action.id)
response = self.client.get(reverse('team_feed', args=[self.l.team.name]))
self.assertContains(response,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]