def get_url(self, view_name=None, view_args=None, view_kwargs=None):
if view_name is None:<EOL><INDENT>view_name = self.get_view_name()<EOL><DEDENT>if view_args is None:<EOL><INDENT>view_args = self.get_view_args()<EOL><DEDENT>if view_kwargs is None:<EOL><INDENT>view_kwargs = self.get_view_kwargs()<EOL><DEDENT>return reverse(view_name, args=view_args, kwargs=view_kwargs)<EOL>
Returns the url to be consumed by ``self.client.get``.

When calling ``self.client.get`` we usually need three parameter:

    * The URL, which we construct from the view name using ``reverse``
    * The args
    * The kwargs

In most cases ``args`` and ``kwargs`` are ``None``, so this method will
help to return the proper URL by calling instance methods that can
be overridden where necessary.

:param view_name: A string representing the view name. If ``None``,
  the return value of ``get_view_name()`` will be used.
:param view_args: A list representing the view args. If ``None``,
  the return value of ``get_view_args()`` will be used.
:param view_kwargs: A dict representing the view kwargs. If ``None``,
  the return value of ``get_view_kwargs()`` will be used.