Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/test_suite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_suite.py')
-rw-r--r--test_suite.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test_suite.py b/test_suite.py
index a76b732..f5a37ab 100644
--- a/test_suite.py
+++ b/test_suite.py
@@ -1,5 +1,5 @@
# coding: UTF-8
-# Copyright 2009 Thomas Jourdan
+# Copyright 2009, 2010 Thomas Jourdan
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -662,12 +662,11 @@ class TestKandidModel(unittest.TestCase):
self.assertTrue(tc in string.ascii_uppercase)
file_path = ep_page_intro.IntroController.get_localized_path(locale,
territory)
- cont = htmltextview.HtmlTextView.get_localized_content(file_path)
- self.assertEqual(0, cont.find('<html>'))
+ self.assertTrue(file_path.endswith('/Kandid.activity/locale/'
+ + locale + '/intro.html'))
def test_render2(self):
- return #TODO
- test_enumerator.explain()
+ self.assertEqual(0, test_enumerator.explain())
def test_status(self):
status = ka_status.Status()