1
0
Fork 0
mirror of https://github.com/kakwa/ldapcherry synced 2025-07-03 11:57:41 +02:00

fix on unit tests for roles

This commit is contained in:
kakwa 2015-05-12 01:41:32 +02:00
parent 2d1fdfe1da
commit 89e8e2aac0
4 changed files with 17 additions and 20 deletions

View file

@ -7,6 +7,7 @@ from __future__ import unicode_literals
import pytest
import sys
from ldapcherry.roles import Roles
from ldapcherry.exceptions import DumplicateRoleKey, MissingKey, DumplicateRoleContent
from ldapcherry.pyyamlwrapper import DumplicatedKey, RelationError
@ -19,7 +20,7 @@ class TestError(object):
def testMissingDisplayName(self):
try:
inv = Roles('./cfg/roles_missing_diplay_name.yml')
inv = Roles('./tests/cfg/roles_missing_diplay_name.yml')
except MissingKey:
return
else: