Exemplo n.º 1
0
 def get_assertion_dict(self, obj):
     return {
         'url': testutils.reverse('book_info', kwargs={'author': obj.author.id, 'id': obj.id}),
     }
Exemplo n.º 2
0
 def get_assertion_dict(self, obj):
     return {
         'url': testutils.reverse('genre_info', kwargs={'description': obj.pk}),
     }