aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-02-06 21:11:05 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-02-06 21:15:49 +0000
commite237637231018ce571ab336e9885438902ece99e (patch)
tree908378711b44e132cc5b07140b1a1bd87e56f296 /tests
parent4eaab17b738963335c76cfafafee44fef8203dee (diff)
downloadcryptography-e237637231018ce571ab336e9885438902ece99e.tar.gz
cryptography-e237637231018ce571ab336e9885438902ece99e.tar.bz2
cryptography-e237637231018ce571ab336e9885438902ece99e.zip
Use os.path.join to make paths
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/primitives/test_rsa.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py
index 35207c11..50b3f7a7 100644
--- a/tests/hazmat/primitives/test_rsa.py
+++ b/tests/hazmat/primitives/test_rsa.py
@@ -14,6 +14,8 @@
from __future__ import absolute_import, division, print_function
+import os
+
import pytest
from cryptography.hazmat.primitives.asymmetric import rsa
@@ -25,7 +27,8 @@ class TestRSA(object):
@pytest.mark.parametrize(
"pkcs1_example",
load_vectors_from_file(
- "asymmetric/RSA/pkcs-1v2-1d2-vec/pss-vect.txt",
+ os.path.join(
+ "asymmetric", "RSA", "pkcs-1v2-1d2-vec", "pss-vect.txt"),
load_pkcs1_vectors
)
)