Skip to content

Migrate unit/test_deserialize.py from unittest from pytest #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 17, 2018
Merged

Migrate unit/test_deserialize.py from unittest from pytest #117

merged 3 commits into from
Dec 17, 2018

Conversation

ansanper
Copy link
Contributor

Issue #, if available: #99

Description of changes:
Migrated "test/unit/test_deserialize.py" from unittest to pytest

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ansanper ansanper mentioned this pull request Dec 14, 2018
16 tasks
@@ -13,7 +13,6 @@
"""Unit test suite for aws_encryption_sdk.deserialize"""
import io
import struct
import unittest

import pytest
import six
Copy link
Member

Choose a reason for hiding this comment

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

Need to remove now-unused import.

def setUp(self):
class TestDeserialize(object):
@pytest.fixture(autouse=True)
def apply_fixtures(self):
Copy link
Member

Choose a reason for hiding this comment

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

Same as #127 : need to run teardown actions.

@mattsb42-aws
Copy link
Member

autoformat should fix this one too.

@mattsb42-aws mattsb42-aws merged commit ec60010 into aws:master Dec 17, 2018
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