示例#1
0
 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")
示例#2
0
 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")
示例#3
0
 def test_create_params_keeps_params(self):
     params = views.create_params({'hello': 'world'})
     self.assertEquals(params['hello'], 'world')
示例#4
0
 def test_create_params_keeps_params(self):
     params = views.create_params({'hello': 'world'})
     self.assertEquals(params['hello'], 'world')