def test_create_params_with_wiki_installed(self): params = views.create_params({}) self.assertEquals(params['wiki_installed'], True) self.assertEquals(params['wiki_search_autocomplete_json_url'], "http://test/5")
def test_create_params_with_wiki_installed(self): params = views.create_params({}) self.assertEquals(params['wiki_installed'], True) self.assertEquals( params['wiki_search_autocomplete_json_url'], "http://test/5")
def test_create_params_keeps_params(self): params = views.create_params({'hello': 'world'}) self.assertEquals(params['hello'], 'world')