Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created March 23, 2018 16:25
Show Gist options
  • Select an option

  • Save hpk42/aaeefff51e759eb56fc9578e263eff5f to your computer and use it in GitHub Desktop.

Select an option

Save hpk42/aaeefff51e759eb56fc9578e263eff5f to your computer and use it in GitHub Desktop.
GLOB sdist-make: /home/hpk/p/muacryptcc/setup.py
lint develop-inst-nodeps: /home/hpk/p/muacryptcc
lint installed: attrs==17.4.0,base58==0.2.5,check-manifest==0.36,click==6.7,configparser==3.5.0,docutils==0.14,enum34==1.1.6,flake8==3.5.0,mccabe==0.6.1,muacrypt==0.8.0.dev6,-e [email protected]:nextleap-project/muacryptcc@472f2d4943e9d785e54230031095de9dcb3616b2#egg=muacryptcc,pycodestyle==2.3.1,pyflakes==1.6.0,restructuredtext-lint==1.1.3,six==1.11.0
lint runtests: PYTHONHASHSEED='213227533'
lint runtests: commands[0] | check-manifest
lists of files in version control and sdist match
lint runtests: commands[1] | rst-lint README.rst
lint runtests: commands[2] | flake8 --ignore=E127 --ignore=E741 --max-line-length 100 muacryptcc tests
py27 inst-nodeps: /home/hpk/p/muacryptcc/.tox/dist/muacryptcc-0.1.0.zip
py27 installed: attrs==17.4.0,base58==0.2.5,cffi==1.11.4,-e git+https://github.com/hpk42/claimchain-core@5046d0c3be6c72fa1befb47f7f25e56d13c9f159#egg=claimchain,click==6.7,coverage==4.5.1,defaultcontext==1.0.3,docutils==0.14,fancycompleter==0.8,funcsigs==1.0.2,future==0.16.0,-e git+https://github.com/hpk42/rousseau-chain@6a5a2e9ce3ff714de80b0c400b956d2e7726d06b#egg=hippiehug&subdirectory=hippiehug-package,more-itertools==4.1.0,msgpack-python==0.5.4,-e git+https://github.com/hpk42/muacrypt@5cc402a15916ec73bace72427fcca63f18e191b1#egg=muacrypt,muacryptcc==0.1.0,pdbpp==0.9.2,petlib==0.0.43,pluggy==0.6.0,py==1.5.3,pycparser==2.18,Pygments==2.2.0,pyrepl==0.8.4,pytest==3.5.0,pytest-cov==2.5.1,PyYAML==3.12,redis==2.10.6,six==1.11.0,statistics==1.0.3.5,wmctrl==0.3
py27 runtests: PYTHONHASHSEED='213227533'
py27 runtests: commands[0] | pytest tests
============================= test session starts ==============================
platform linux2 -- Python 2.7.12, pytest-3.5.0, py-1.5.3, pluggy-0.6.0
rootdir: /home/hpk/p/muacryptcc, inifile: tox.ini
plugins: cov-2.5.1
collected 14 items
tests/test_filestore.py .. [ 14%]
tests/test_functional.py .FFFssss [ 71%]
tests/test_plugin.py .... [100%]
=================================== FAILURES ===================================
__________________ test_claim_headers_in_encrypted_mail[gpg1] __________________
account_maker = <function maker at 0x7f8066964848>
def test_claim_headers_in_encrypted_mail(account_maker):
acc1, acc2 = account_maker(), account_maker()
send_mail(acc1, acc2)
dec_msg = send_encrypted_mail(acc2, acc1)[1].dec_msg
> cc2 = get_cc_account(dec_msg['ChainStore'])
tests/test_functional.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_functional.py:88: in get_cc_account
assert os.path.exists(store_dir)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = None
def exists(path):
"""Test whether a path exists. Returns False for broken symbolic links"""
try:
> os.stat(path)
E TypeError: coercing to Unicode: need string or buffer, NoneType found
.tox/py27/lib/python2.7/genericpath.py:26: TypeError
________________________ test_claims_contain_keys[gpg1] ________________________
account_maker = <function maker at 0x7f8066888320>
def test_claims_contain_keys(account_maker):
acc1, acc2 = account_maker(), account_maker()
send_mail(acc1, acc2)
> cc2, ac2 = get_cc_and_ac(send_encrypted_mail(acc2, acc1))
tests/test_functional.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_functional.py:82: in get_cc_and_ac
return get_cc_account(decrypted.dec_msg['ChainStore']), processed.pah
tests/test_functional.py:88: in get_cc_account
assert os.path.exists(store_dir)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = None
def exists(path):
"""Test whether a path exists. Returns False for broken symbolic links"""
try:
> os.stat(path)
E TypeError: coercing to Unicode: need string or buffer, NoneType found
.tox/py27/lib/python2.7/genericpath.py:26: TypeError
___________________________ test_gossip_claims[gpg1] ___________________________
account_maker = <function maker at 0x7f80668885f0>
def test_gossip_claims(account_maker):
acc1, acc2, acc3 = account_maker(), account_maker(), account_maker()
send_mail(acc1, acc2)
send_mail(acc1, acc3)
> cc2, ac2 = get_cc_and_ac(send_encrypted_mail(acc2, acc1))
tests/test_functional.py:46:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_functional.py:82: in get_cc_and_ac
return get_cc_account(decrypted.dec_msg['ChainStore']), processed.pah
tests/test_functional.py:88: in get_cc_account
assert os.path.exists(store_dir)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
path = None
def exists(path):
"""Test whether a path exists. Returns False for broken symbolic links"""
try:
> os.stat(path)
E TypeError: coercing to Unicode: need string or buffer, NoneType found
.tox/py27/lib/python2.7/genericpath.py:26: TypeError
=========================== short test summary info ============================
SKIP [4] /home/hpk/p/muacryptcc/.tox/py27/src/muacrypt/muacrypt/testing_plugin.py:48: skipped gpg2 tests (specify --with-gpg2 to run)
================ 3 failed, 7 passed, 4 skipped in 0.98 seconds =================
ERROR: InvocationError: '/home/hpk/p/muacryptcc/.tox/py27/bin/pytest tests'
___________________________________ summary ____________________________________
lint: commands succeeded
ERROR: py27: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment