Example #1
0
 def test_persist_w_existing_persists(self):
     request = RequestFactory().get('')
     request.affect_persist = {'other_crit': True}
     set_persist_criteria(request, 'test_crit', False)
     self.assertDictEqual(
         request.affect_persist, {'other_crit': True, 'test_crit': False})