Debian Codegraph @

doc/sources/admin/managertests.rst

raw
1 Ignore some manager tests
2 =========================
3
4 Each time you save a configuration, Manager launch a serie of tests:
5
6 - unit tests for each key: they are declared in
7 Lemonldap::NG::Manager::Attributes *(source
8 Lemonldap::NG::Manager::Build::Attributes)*
9 - more advanced tests declared in Lemonldap::NG::Manager::Conf::Tests
10
11 In some case *(conf overridden in INI file,...)*, you may have to ignore
12 some of them. You just have to list them *(space separated)* in a
13 special key in ``lemonldap-ng.ini``, ``[Manager]`` section:
14
15 - ``skippedUnitTests`` for unit tests
16 - ``skippedGlobalTests`` for global tests
17
18 Example:
19
20 .. code-block:: ini
21
22 [Manager]
23 skippedUnitTests = grantSessionRules portalSkinRules
24 skippedGlobalTests = testApacheSession
25