aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_rsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/primitives/test_rsa.py')
-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):