예제 #1
0
 def test_get_index_kwargs(self):
     # This is a silly test, but is here for completeness.
     idx_obj = PeopleIndex()
     self.assertEqual(idx_obj.get_index_kwargs("en"),
                      {'translations__language_code': 'en'})
 def test_get_index_kwargs(self):
     # This is a silly test, but is here for completeness.
     idx_obj = PeopleIndex()
     self.assertEqual(idx_obj.get_index_kwargs("en"), {
         'translations__language_code': 'en'
     })