Last active
December 24, 2015 09:38
-
-
Save wallrj/6778103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (cryptography)[richard@zorin docs]$ make doctest | |
| sphinx-build -b doctest -d _build/doctrees . _build/doctest | |
| Running Sphinx v1.2b2 | |
| loading pickled environment... done | |
| building [doctest]: targets for 8 source files that are out of date | |
| updating environment: 0 added, 0 changed, 0 removed | |
| looking for now-outdated files... none found | |
| running tests... | |
| Document: primitives/symmetric-encryption | |
| ----------------------------------------- | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 21, in default | |
| Failed example: | |
| from cryptography.primitives.block import BlockCipher, ciphers, modes | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[0]>", line 1, in <module> | |
| from cryptography.primitives.block import BlockCipher, ciphers, modes | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/primitives/block/__init__.py", line 16, in <module> | |
| from cryptography.primitives.block.base import BlockCipher | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/primitives/block/base.py", line 19, in <module> | |
| from cryptography.bindings.openssl import api | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/bindings/openssl/__init__.py", line 14, in <module> | |
| from cryptography.bindings.openssl.api import api | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/bindings/openssl/api.py", line 18, in <module> | |
| import cffi | |
| ImportError: No module named cffi | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 22, in default | |
| Failed example: | |
| cipher = BlockCipher(ciphers.AES(key), modes.CBC(iv)) | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[1]>", line 1, in <module> | |
| cipher = BlockCipher(ciphers.AES(key), modes.CBC(iv)) | |
| NameError: name 'BlockCipher' is not defined | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 23, in default | |
| Failed example: | |
| cipher.encrypt(b"a secret message") + cipher.finalize() | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[2]>", line 1, in <module> | |
| cipher.encrypt(b"a secret message") + cipher.finalize() | |
| NameError: name 'cipher' is not defined | |
| ********************************************************************** | |
| 1 items had failures: | |
| 3 of 3 in default | |
| 3 tests in 1 items. | |
| 0 passed and 3 failed. | |
| ***Test Failed*** 3 failures. | |
| Doctest summary | |
| =============== | |
| 3 tests | |
| 3 failures in tests | |
| 0 failures in setup code | |
| 0 failures in cleanup code | |
| build finished with problems. | |
| make: *** [doctest] Error 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (cryptography)[richard@zorin wallrj]$ tox -e docs | |
| GLOB sdist-make: /home/richard/projects/Cryptography/branches/wallrj/setup.py | |
| docs create: /home/richard/projects/Cryptography/branches/wallrj/.tox/docs | |
| docs installdeps: sphinx | |
| docs inst: /home/richard/projects/Cryptography/branches/wallrj/.tox/dist/cryptography-0.1.dev1.zip | |
| docs runtests: commands[0] | sphinx-build -W -b html -d /home/richard/projects/Cryptography/branches/wallrj/.tox/docs/tmp/doctrees docs docs/_build/html | |
| WARNING:test command found but not installed in testenv | |
| cmd: /home/richard/.local/bin/sphinx-build | |
| env: /home/richard/projects/Cryptography/branches/wallrj/.tox/docs | |
| Maybe forgot to specify a dependency? | |
| Running Sphinx v1.2b2 | |
| loading pickled environment... not yet created | |
| loading intersphinx inventory from http://docs.python.org/objects.inv... | |
| building [html]: targets for 8 source files that are out of date | |
| updating environment: 8 added, 0 changed, 0 removed | |
| reading sources... [100%] primitives/symmetric-encryption | |
| looking for now-outdated files... none found | |
| pickling environment... done | |
| checking consistency... done | |
| preparing documents... done | |
| writing output... [100%] primitives/symmetric-encryption | |
| writing additional files... (0 module code pages) genindex search | |
| copying static files... done | |
| copying extra files... dumping search index... done | |
| dumping object inventory... done | |
| build succeeded. | |
| docs runtests: commands[1] | sphinx-build -W -b doctest -d /home/richard/projects/Cryptography/branches/wallrj/.tox/docs/tmp/doctrees docs docs/_build/html | |
| WARNING:test command found but not installed in testenv | |
| cmd: /home/richard/.local/bin/sphinx-build | |
| env: /home/richard/projects/Cryptography/branches/wallrj/.tox/docs | |
| Maybe forgot to specify a dependency? | |
| Running Sphinx v1.2b2 | |
| loading pickled environment... done | |
| building [doctest]: targets for 8 source files that are out of date | |
| updating environment: 0 added, 0 changed, 0 removed | |
| looking for now-outdated files... none found | |
| running tests... | |
| Document: primitives/symmetric-encryption | |
| ----------------------------------------- | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 21, in default | |
| Failed example: | |
| from cryptography.primitives.block import BlockCipher, ciphers, modes | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[0]>", line 1, in <module> | |
| from cryptography.primitives.block import BlockCipher, ciphers, modes | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/primitives/block/__init__.py", line 16, in <module> | |
| from cryptography.primitives.block.base import BlockCipher | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/primitives/block/base.py", line 19, in <module> | |
| from cryptography.bindings.openssl import api | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/bindings/openssl/__init__.py", line 14, in <module> | |
| from cryptography.bindings.openssl.api import api | |
| File "/home/richard/projects/Cryptography/branches/wallrj/cryptography/bindings/openssl/api.py", line 18, in <module> | |
| import cffi | |
| ImportError: No module named cffi | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 22, in default | |
| Failed example: | |
| cipher = BlockCipher(ciphers.AES(key), modes.CBC(iv)) | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[1]>", line 1, in <module> | |
| cipher = BlockCipher(ciphers.AES(key), modes.CBC(iv)) | |
| NameError: name 'BlockCipher' is not defined | |
| ********************************************************************** | |
| File "primitives/symmetric-encryption.rst", line 23, in default | |
| Failed example: | |
| cipher.encrypt(b"a secret message") + cipher.finalize() | |
| Exception raised: | |
| Traceback (most recent call last): | |
| File "/usr/lib64/python2.7/doctest.py", line 1289, in __run | |
| compileflags, 1) in test.globs | |
| File "<doctest default[2]>", line 1, in <module> | |
| cipher.encrypt(b"a secret message") + cipher.finalize() | |
| NameError: name 'cipher' is not defined | |
| ********************************************************************** | |
| 1 items had failures: | |
| 3 of 3 in default | |
| 3 tests in 1 items. | |
| 0 passed and 3 failed. | |
| ***Test Failed*** 3 failures. | |
| Doctest summary | |
| =============== | |
| 3 tests | |
| 3 failures in tests | |
| 0 failures in setup code | |
| 0 failures in cleanup code | |
| build finished with problems. | |
| ERROR: InvocationError: '/home/richard/.local/bin/sphinx-build -W -b doctest -d /home/richard/projects/Cryptography/branches/wallrj/.tox/docs/tmp/doctrees docs docs/_build/html' | |
| ______________________________________________________________________ summary _______________________________________________________________________ | |
| ERROR: docs: commands failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (cryptography)[richard@zorin wallrj]$ py.test tests | |
| ================================================================ test session starts ================================================================= | |
| platform linux2 -- Python 2.7.5 -- pytest-2.4.0 | |
| collected 4294 items | |
| tests/test_utils.py ........ | |
| tests/bindings/test_openssl.py .. | |
| tests/primitives/test_block.py .... | |
| tests/primitives/test_ciphers.py .... | |
| tests/primitives/test_nist.py .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
| ============================================================ 4294 passed in 14.94 seconds ============================================================ | |
| (cryptography)[richard@zorin wallrj]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment