tracim.fixtures.ldap   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 55
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 38
dl 0
loc 55
rs 10
c 0
b 0
f 0
wmc 0
1
ldap_test_server_fixtures = {
0 ignored issues
show
Coding Style introduced by
This module should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
Coding Style Naming introduced by
The name ldap_test_server_fixtures does not conform to the constant naming conventions ((([A-Z_][A-Z0-9_]*)|(__.*__))$).

This check looks for invalid names for a range of different identifiers.

You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.

If your project includes a Pylint configuration file, the settings contained in that file take precedence.

To find out more about Pylint, please refer to their site.

Loading history...
2
    'port': 3333,
3
    'password': 'toor',
4
5
    'bind_dn': 'cn=admin,dc=directory,dc=fsf,dc=org',
6
    'base': {
7
        'objectclass': ['dcObject', 'organization'],
8
        'dn': 'dc=directory,dc=fsf,dc=org',
9
        'attributes': {
10
            'o': 'Free Software Foundation',
11
            'dc': 'directory'
12
        }
13
    },
14
15
    'entries': [
16
        {
17
            'objectclass': ['organizationalRole'],
18
            'dn': 'cn=admin,dc=directory,dc=fsf,dc=org',
19
            'attributes': {
20
                'cn': 'admin'
21
            }
22
        },
23
        {
24
            'objectclass': ['organizationalUnit'],
25
            'dn': 'ou=people,dc=directory,dc=fsf,dc=org',
26
            'attributes': {
27
                'ou': 'people',
28
            }
29
        },
30
        {
31
            'objectclass': ['organizationalUnit'],
32
            'dn': 'ou=groups,dc=directory,dc=fsf,dc=org',
33
            'attributes': {
34
                'ou': 'groups',
35
            }
36
        },
37
        {
38
            'objectclass': ['account', 'top'],
39
            'dn': '[email protected],ou=people,dc=directory,dc=fsf,dc=org',
40
            'attributes': {
41
                'uid': '[email protected]',
42
                'userPassword': 'rms',
43
                'mail': '[email protected]',
44
                'pubname': 'Richard Stallman',
45
            }
46
        },
47
        {
48
            'objectclass': ['account', 'top'],
49
            'dn': '[email protected],ou=people,dc=directory,dc=fsf,dc=org',
50
            'attributes': {
51
                'uid': '[email protected]',
52
                'userPassword': 'foobarbaz',
53
                'mail': '[email protected]',
54
                'pubname': 'Lawrence Lessig',
55
            }
56
        },
57
    ]
58
}
59