-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up unused imports / extra f-strings
- Loading branch information
Showing
4 changed files
with
5 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ | |
from irrd.storage.models import JournalEntryOrigin | ||
from irrd.utils.rpsl_samples import SAMPLE_MNTNER | ||
from irrd.utils.test_utils import flatten_mock_calls | ||
from irrd.updates.parser import parse_change_requests | ||
from ..handler import ChangeSubmissionHandler | ||
from ...utils.validators import RPSLChangeSubmission, RPSLSuspensionSubmission | ||
from ..parser_state import SuspensionRequestType | ||
|
@@ -200,7 +199,7 @@ def test_parse_valid_new_person_existing_mntner_pgp_key(self, prepare_mocks): | |
assert mock_dh.mock_calls[2][0] == 'commit' | ||
assert mock_dh.mock_calls[3][0] == 'close' | ||
|
||
assert handler.submitter_report_human() == textwrap.dedent(f""" | ||
assert handler.submitter_report_human() == textwrap.dedent(""" | ||
> Message-ID: test | ||
> From: [email protected] | ||
|
@@ -229,7 +228,7 @@ def test_parse_valid_new_person_existing_mntner_pgp_key(self, prepare_mocks): | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
""") | ||
|
||
expected_notification = textwrap.dedent(f""" | ||
expected_notification = textwrap.dedent(""" | ||
This is to notify you of changes in the TEST database | ||
or object authorisation failures. | ||
|
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