summaryrefslogtreecommitdiff
path: root/tests/test_bcrypt.py
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2016-06-30 13:05:04 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2016-06-30 12:05:04 -0500
commitc95966955b60a446e9d23af0b9500fbc5e43c0cc (patch)
tree317f85080dedac1a4d06ccf9bd2a8f8eea633599 /tests/test_bcrypt.py
parentc9c76210fad230995a6155287e8b92c49180eae4 (diff)
downloadpy-bcrypt-git-c95966955b60a446e9d23af0b9500fbc5e43c0cc.tar.gz
Inputing a 2y salt should output a 2y hash (#84)
Diffstat (limited to 'tests/test_bcrypt.py')
-rw-r--r--tests/test_bcrypt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py
index 47f315a..d9bde72 100644
--- a/tests/test_bcrypt.py
+++ b/tests/test_bcrypt.py
@@ -152,12 +152,12 @@ _2y_test_vectors = [
(
b"\xa3",
b"$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq",
- b"$2b$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq",
+ b"$2y$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq",
),
(
b"\xff\xff\xa3",
b"$2y$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e",
- b"$2b$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e",
+ b"$2y$05$/OK.fbVrR/bpIqNJ5ianF.CE5elHaaO4EbggVDjb8P19RukzXSM3e",
),
]