0004-tests-remove-unused-variable-41342.patch
tests/test_data_transfer.py | ||
---|---|---|
529 | 529 | |
530 | 530 |
def test_export_site(db): |
531 | 531 |
ou = OU.objects.create(name='ou') |
532 |
role = Role.objects.create(name='role', ou=ou)
|
|
532 |
Role.objects.create(name='role', ou=ou) |
|
533 | 533 |
d = export_site() |
534 | 534 |
assert len([ou for ou in d['ous'] if ou['slug'] != 'default']) == 1 |
535 | 535 |
assert len([role for role in d['roles'] if role['slug'][0] != '_']) == 1 |
536 |
- |