Add test and stub test
This commit is contained in:
parent
a22f459915
commit
66885641c4
|
@ -731,6 +731,20 @@ async def test_Service_create_not_existing(client_fixture):
|
|||
assert client_fixture.called_with_args["search"]["args"] == (s.dn, 0)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_Service_sync_existing(client_fixture):
|
||||
s = Service("existing_service", client_fixture)
|
||||
|
||||
await s.sync()
|
||||
|
||||
assert client_fixture.called_with_args["search"]["args"] == (s.dn, 0)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_Service_sync_non_existing(client_fixture):
|
||||
pass
|
||||
|
||||
|
||||
def test_Group(client_fixture):
|
||||
c = Group("amici_miei", client_fixture)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user