Skip to content

Update test characters in substitution unit test#893

Merged
TheRealFalcon merged 3 commits into
canonical:masterfrom
TheRealFalcon:fix-unittest
May 11, 2021
Merged

Update test characters in substitution unit test#893
TheRealFalcon merged 3 commits into
canonical:masterfrom
TheRealFalcon:fix-unittest

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

Proposed Commit Message

Update test characters in substitution unit test

In newer versions of python, when using urllib.parse, lines containing
newline or tab characters now get sanitized. This caused a unit test to
fail.

See https://bugs.python.org/issue43882

Additional Context

Test Steps

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

In newer versions of python, when using urllib.parse, lines containing
newline or tab characters now get sanitized. This caused a unit test to
fail.

See https://bugs.python.org/issue43882
@TheRealFalcon TheRealFalcon mentioned this pull request May 6, 2021
@TheRealFalcon TheRealFalcon reopened this May 11, 2021
@TheRealFalcon TheRealFalcon requested a review from OddBloke May 11, 2021 16:10
Comment thread cloudinit/distros/tests/test_init.py Outdated
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment improvement suggested, land at will!

Co-authored-by: Daniel Watkins <daniel@daniel-watkins.co.uk>
@TheRealFalcon TheRealFalcon merged commit 899bfaa into canonical:master May 11, 2021
@TheRealFalcon TheRealFalcon deleted the fix-unittest branch May 11, 2021 16:34
@fabaff fabaff mentioned this pull request Jul 25, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants