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

Fixing formatting problem

parent c8fba7c8
No related branches found
No related tags found
1 merge request!15GREG-5: Adding methods for updating and deleting role for person
Pipeline #89055 failed
...@@ -58,9 +58,8 @@ def unit_foo() -> OrganizationalUnit: ...@@ -58,9 +58,8 @@ def unit_foo() -> OrganizationalUnit:
return OrganizationalUnit.objects.create(orgreg_id="12345", name_en="foo_unit") return OrganizationalUnit.objects.create(orgreg_id="12345", name_en="foo_unit")
# Note that there is an assumption in this fixture that there is a sponsor with ID 1 and a unit with ID 1
@pytest.fixture @pytest.fixture
def role_data_guest(role_test_guest, sponsor_bar, unit_foo) -> 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",
......
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