aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-02 17:55:46 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-02 21:28:53 -0500
commitdc378d10347db0cd5d76108b041a42ca8512ab38 (patch)
treeaf201143976cbe07f0225a78603c10aeae4b2cb0 /tests
parentc9a879350d46581d69d51732d18579defd78072f (diff)
downloadcryptography-dc378d10347db0cd5d76108b041a42ca8512ab38.tar.gz
cryptography-dc378d10347db0cd5d76108b041a42ca8512ab38.tar.bz2
cryptography-dc378d10347db0cd5d76108b041a42ca8512ab38.zip
move DeprecatedIn04 to utils, some kwargs changes
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/primitives/test_rsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py
index e15108a9..fa0b5983 100644
--- a/tests/hazmat/primitives/test_rsa.py
+++ b/tests/hazmat/primitives/test_rsa.py
@@ -1128,7 +1128,7 @@ class TestPSS(object):
def test_deprecation_warning(self):
pytest.deprecated_call(
padding.PSS,
- padding.MGF1(hashes.SHA1(), 20)
+ mgf=padding.MGF1(hashes.SHA1(), 20)
)
def test_invalid_salt_length_not_integer(self):
@@ -1172,7 +1172,7 @@ class TestPSS(object):
class TestMGF1(object):
def test_deprecation_warning(self):
pytest.deprecated_call(
- padding.MGF1, hashes.SHA1(), 20
+ padding.MGF1, algorithm=hashes.SHA1(), salt_length=20
)
def test_invalid_hash_algorithm(self):