Skip to content

Migrate unit/test_defaults.py from unittest to pytest #116

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 1 commit into from
Dec 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions test/unit/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
"""Test suite to verify calculated values in aws_encryption_sdk.internal.defaults"""
import unittest

import pytest

import aws_encryption_sdk.internal.defaults

pytestmark = [pytest.mark.unit, pytest.mark.local]


class TestDefaults(unittest.TestCase):
class TestDefaults(object):
def test_max_frame_count(self):
max_frame_count = pow(2, 32) - 1
assert aws_encryption_sdk.internal.defaults.MAX_FRAME_COUNT == max_frame_count
Expand Down