Skip to content

Commit da0da90

Browse files
ansanpermattsb42-aws
authored andcommitted
Migrate integration/test_i_aws_encryption_sdk_client.py from unittest to pytest (#114)
1 parent a6304de commit da0da90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/test_i_aws_encrytion_sdk_client.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"""Integration test suite for `aws_encryption_sdk`."""
1414
import io
1515
import logging
16-
import unittest
1716

1817
import pytest
1918
from botocore.exceptions import BotoCoreError
@@ -69,8 +68,9 @@ def test_remove_bad_client():
6968
assert not test._regional_clients
7069

7170

72-
class TestKMSThickClientIntegration(unittest.TestCase):
73-
def setUp(self):
71+
class TestKMSThickClientIntegration(object):
72+
@pytest.fixture(autouse=True)
73+
def apply_fixtures(self):
7474
self.kms_master_key_provider = setup_kms_master_key_provider()
7575

7676
def test_encryption_cycle_default_algorithm_framed_stream(self):

0 commit comments

Comments
 (0)