Skip to content

Fix attempting to decode binary data in test_seed_random_data test#806

Merged
blackboxsw merged 2 commits into
canonical:masterfrom
TheRealFalcon:fix-binary-test
Feb 16, 2021
Merged

Fix attempting to decode binary data in test_seed_random_data test#806
blackboxsw merged 2 commits into
canonical:masterfrom
TheRealFalcon:fix-binary-test

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon commented Feb 9, 2021

Proposed Commit Message

Fix attempting to decode binary data in test_seed_random_data test

test_seed_random_data.py was failing on openstack as openstack
provides additional binary seed data to the end of the specified file.
The test has been changed to only read the ascii porition of
seed file.

Additional Context

n/a

Test Steps

Using openstack as the testing platform (requires branch #804 if branch isn't merged yet):
pytest tests/integration_tests/modules/test_seed_random_data.py

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

`test_seed_random_data.py` was failing on openstack as openstack
provides additional binary seed data to the end of the specified file.
The test has been changed to only read the ascii porition of
seed file.
Copy link
Copy Markdown
Collaborator

@blackboxsw blackboxsw left a comment

Choose a reason for hiding this comment

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

LGTM

@blackboxsw blackboxsw merged commit 84e56f8 into canonical:master Feb 16, 2021
@TheRealFalcon TheRealFalcon deleted the fix-binary-test branch June 29, 2021 19:00
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