-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added kadastraalpersoonidentificatie endpoint
- Loading branch information
1 parent
b4f406f
commit 32c25f6
Showing
4 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import datetime | ||
|
||
import pytest | ||
|
||
from kikinzage.client import AsyncClient | ||
from kikinzage.client import DefaultClient | ||
from kikinzage.models import KadastraalPersoonIdentificatie | ||
|
||
|
||
def test_persoonsgegevens(kik: DefaultClient) -> None: | ||
response = kik.kadastraalpersoonidentificatie_persoonsgegevens( | ||
geslachtsnaam="Geslachtsnaam", | ||
voornamen="Voornamen", | ||
voorvoegselsgeslachtsnaam="van", | ||
geboortedatum=datetime.date(2000, 1, 1), | ||
) | ||
|
||
assert isinstance(response, KadastraalPersoonIdentificatie) | ||
|
||
|
||
@pytest.mark.asyncio | ||
async def test_persoonsgegevens_async(akik: AsyncClient) -> None: | ||
response = await akik.kadastraalpersoonidentificatie_persoonsgegevens( | ||
geslachtsnaam="Geslachtsnaam", | ||
voornamen="Voornamen", | ||
voorvoegselsgeslachtsnaam="van", | ||
geboortedatum=datetime.date(2000, 1, 1), | ||
) | ||
|
||
assert isinstance(response, KadastraalPersoonIdentificatie) |