Commit 71572364 authored by Shelepnev Dmitry's avatar Shelepnev Dmitry
Browse files

Fix i18n in test_feed.test_SearchBooks function

parent 6191de1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ class feedsTestCase(TestCase):
        self.assertEquals(response.status_code, 200)        
        self.assertIn("Драконьи Услуги", response.content.decode())
        self.assertIn("Куприянов Денис", response.content.decode())  
        self.assertIn("All books by Куприянов Денис", response.content.decode())  
        self.assertIn(_("All books by %(last_name)s %(first_name)s")%{"last_name":"Куприянов", "first_name":"Денис"}, response.content.decode())  
        self.assertIn("prose_contemporary", response.content.decode())    
        self.assertIn("<category ", response.content.decode())