-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmd-984 - Remove
data owner
references from app code
- replaced `data_owner` with `data_custodian` in the codebase - did not replace any reference to data owner on datahub lib Signed-off-by: Helder Ribeiro <[email protected]>
- Loading branch information
1 parent
8d2071a
commit 1e8de26
Showing
7 changed files
with
14 additions
and
14 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
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ def test_send_all_notifications(mock_notifications_client, reporter): | |
"additional_info": "This is some additional information.", | ||
"entity_name": "my_entity", | ||
"entity_url": "http://localhost/my_entity", | ||
"data_owner_email": "[email protected]", | ||
"data_custodian_email": "[email protected]", | ||
"created_by": reporter, | ||
} | ||
|
||
|
@@ -24,7 +24,7 @@ def test_send_all_notifications(mock_notifications_client, reporter): | |
|
||
|
||
@pytest.mark.django_db | ||
def test_send_notifications_no_data_owner_email(mock_notifications_client, reporter): | ||
def test_send_notifications_no_data_custodian_email(mock_notifications_client, reporter): | ||
data = { | ||
"reason": "Other", | ||
"additional_info": "This is some additional information.", | ||
|
@@ -48,7 +48,7 @@ def test_send_all_notifications_no_reporter(mock_notifications_client): | |
"additional_info": "This is some additional information.", | ||
"entity_name": "my_entity", | ||
"entity_url": "http://localhost/my_entity", | ||
"data_owner_email": "[email protected]", | ||
"data_custodian_email": "[email protected]", | ||
} | ||
|
||
issue = Issue.objects.create(**data) | ||
|
@@ -59,7 +59,7 @@ def test_send_all_notifications_no_reporter(mock_notifications_client): | |
|
||
|
||
@pytest.mark.django_db | ||
def test_send_all_notifications_no_reporter_no_data_owner_email( | ||
def test_send_all_notifications_no_reporter_no_data_custodian_email( | ||
mock_notifications_client, reporter | ||
): | ||
data = { | ||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ def test_form_renders(self, client): | |
data={ | ||
"entity_name": "my_entity", | ||
"entity_url": "http://localhost/my_entity", | ||
"data_owner_email": "[email protected]", | ||
"data_custodian_email": "[email protected]", | ||
}, | ||
) | ||
assert response.status_code == 200 | ||
|