summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2015-06-11 09:23:01 -0400
committerDonald Stufft <donald@stufft.io>2015-06-11 09:23:01 -0400
commit51ebadb34d22d25c10c5e54d4dada46b88c3829b (patch)
treeb14a815d477d7f24eebbad6be2b038b21693da7e /tests
parentf3280bda0a560fbf4d401bd8edf89b974a97b39c (diff)
downloadpy-bcrypt-git-51ebadb34d22d25c10c5e54d4dada46b88c3829b.tar.gz
Migrate to using CFFI 1.0
* Move everything under src/ to ensure we test against the installed library. * Create a build_bcrypt.py script which will build _bcrypt.so. * Refactor to utilize the new _bcrypt.so instead of implicit compile.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_bcrypt.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_bcrypt.py b/tests/test_bcrypt.py
index 5793811..c91a62e 100644
--- a/tests/test_bcrypt.py
+++ b/tests/test_bcrypt.py
@@ -7,11 +7,6 @@ import six
import bcrypt
-def test_raise_implicit_compile():
- with pytest.raises(RuntimeError):
- bcrypt._compile_module()
-
-
def test_gensalt_basic(monkeypatch):
monkeypatch.setattr(os, "urandom", lambda n: b"0000000000000000")
assert bcrypt.gensalt() == b"$2a$12$KB.uKB.uKB.uKB.uKB.uK."