Skip to content

Commit 37bdea5

Browse files
author
Will Benfold
committed
Update to be easily usable without code links working
1 parent 889a8ab commit 37bdea5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/src/developers_guide/testing_tools.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ Iris has various internal convenience functions and utilities available to
99
support writing tests. Using these makes tests quicker and easier to write, and
1010
also consistent with the rest of Iris (which makes it easier to work with the
1111
code). Most of these conveniences are accessed through the
12-
:class:`iris.tests.IrisTest` class, from which Iris' test classes inherit.
12+
:class:`iris.tests.IrisTest` class, from
13+
which Iris' test classes then inherit.
14+
15+
.. tip::
16+
17+
All functions listed on this page are defined within
18+
:mod:`iris.tests.__init__.py` as methods of
19+
:class:`iris.tests.IrisTest_nometa` (which :class:`iris.tests.IrisTest`
20+
inherits from). They can be accessed within a test using
21+
``self.exampleFunction``.
1322

1423
Custom assertions
1524
=================

0 commit comments

Comments
 (0)