Skip to content

Commit

Permalink
Update to be easily usable without code links working
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Benfold committed Mar 9, 2022
1 parent 46fcb4b commit e2ea6e1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/src/developers_guide/testing_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,16 @@ Iris has various internal convenience functions and utilities available to
support writing tests. Using these makes tests quicker and easier to write, and
also consistent with the rest of Iris (which makes it easier to work with the
code). Most of these conveniences are accessed through the
:class:`iris.tests.IrisTest` class, from which Iris' test classes inherit.
:class:`iris.tests.IrisTest` class, from
which Iris' test classes then inherit.

.. tip::

All functions listed on this page are defined within
:mod:`iris.tests.__init__.py` as methods of
:class:`iris.tests.IrisTest_nometa` (which :class:`iris.tests.IrisTest`
inherits from). They can be accessed within a test using
``self.exampleFunction``.

Custom assertions
=================
Expand Down

0 comments on commit e2ea6e1

Please sign in to comment.