[damned-lies] Fix identical figure test
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fix identical figure test
- Date: Thu, 4 Aug 2011 09:42:39 +0000 (UTC)
commit 10fcd732d4d9f4a572c5409b6646943112a7d5d2
Author: Claude Paroz <claude 2xlibre net>
Date: Wed Aug 3 23:53:54 2011 +0200
Fix identical figure test
stats/tests/__init__.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/stats/tests/__init__.py b/stats/tests/__init__.py
index 3c97730..b072044 100644
--- a/stats/tests/__init__.py
+++ b/stats/tests/__init__.py
@@ -166,8 +166,8 @@ class ModuleTestCase(TestCase):
def testIdenticalFigureWarning(self):
""" Detect warning if translated figure is identical to original figure """
self.b.checkout()
- orig_figure = os.path.join(self.b.co_path(), "help", "C", "figures", "gnome-hello.png")
- shutil.copy(orig_figure, os.path.join(self.b.co_path(), "help", "fr", "figures", "gnome-hello.png"))
+ orig_figure = os.path.join(self.b.co_path(), "help", "C", "figures", "gnome-hello-new.png")
+ shutil.copy(orig_figure, os.path.join(self.b.co_path(), "help", "fr", "figures", "gnome-hello-new.png"))
self.b.update_stats(force=True, checkout=False)
doc_stat = Statistics.objects.get(branch=self.b, domain__name='help', language__locale='fr')
warn_infos = Information.objects.filter(statistics=doc_stat, type='warn-ext')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]