diff --git a/tests/flatpages_tests/test_models.py b/tests/flatpages_tests/test_models.py index dd4581312a..f6a4eec954 100644 --- a/tests/flatpages_tests/test_models.py +++ b/tests/flatpages_tests/test_models.py @@ -14,3 +14,6 @@ class FlatpageModelTests(SimpleTestCase): @override_script_prefix('/prefix/') def test_get_absolute_url_honors_script_prefix(self): self.assertEqual(self.page.get_absolute_url(), '/prefix/caf%C3%A9/') + + def test_str(self): + self.assertEqual(str(self.page), '/café/ -- Café!')