Skip to content
Snippets Groups Projects
Commit 033d6d9e authored by Tore.Brede's avatar Tore.Brede
Browse files

Fixing formatting

parent 0089d5b6
No related branches found
No related tags found
1 merge request!15GREG-5: Adding methods for updating and deleting role for person
Pipeline #89060 passed
...@@ -93,13 +93,15 @@ def unit_foo() -> OrganizationalUnit: ...@@ -93,13 +93,15 @@ def unit_foo() -> OrganizationalUnit:
@pytest.fixture @pytest.fixture
def role_data_guest(role_test_guest: Role, sponsor_bar: Sponsor, unit_foo: OrganizationalUnit) -> Dict: def role_data_guest(
role_test_guest: Role, sponsor_bar: Sponsor, unit_foo: OrganizationalUnit
) -> Dict:
return { return {
"role": "Test Guest", "role": "Test Guest",
"start_date": "2021-06-10", "start_date": "2021-06-10",
"end_date": "2021-08-10", "end_date": "2021-08-10",
"registered_by": sponsor_bar.id, "registered_by": sponsor_bar.id,
"unit": unit_foo.id "unit": unit_foo.id,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment