/
testing.txt
45 lines (28 loc) · 1.25 KB
/
testing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#######
Testing
#######
`pydocusign` provides some tools to help you test your applications:
* :func:`~pydocusign.test.post_notification_callback`
* :func:`~pydocusign.test.generate_notification_callback_body`
**************************
post_notification_callback
**************************
.. note::
Uses third-party `diecutter`_ online file generation service. See
:func:`~pydocusign.test.generate_notification_callback_body` for details.
.. autofunction:: pydocusign.test.post_notification_callback
***********************************
generate_notification_callback_body
***********************************
.. note::
This function uses third-party `diecutter`_ online file generation service.
This allows `pydocusign` to use templates without having template engines
(Jinja2) as dependencies, since this callback notification feature is for
test purpose only. At runtime, `pydocusign` does not require Jinja2.
.. autofunction:: pydocusign.test.generate_notification_callback_body
Available templates are the ones in ``pydocusign/templates`` folder of
`pydocusign's code repository`_.
.. rubric:: References
.. target-notes::
.. _`diecutter`: http://diecutter.io
.. _`pydocusign's code repository`: https://github.com/novapost/pydocusign/