'This is how we expect test writers to register an after_iteration_hook.
This adds the method to the list of hooks which are executed
after each iteration.
:param iteration_hook: Method to run after each iteration. A valid
hook accepts a single argument which is the
test object.'

def register_after_iteration_hook(self, iteration_hook):

    self.after_iteration_hooks.append(iteration_hook)
