Skip to content
Failed

Console Output

Started by GitHub push by severinsimmler
Building remotely on build3 (digibib) in workspace /mnt/data/jenkins/workspace/cophi_toolbox
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url git://github.com/cophi-wue/cophi-toolbox # timeout=10
Fetching upstream changes from git://github.com/cophi-wue/cophi-toolbox
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > /usr/bin/git fetch --tags --progress git://github.com/cophi-wue/cophi-toolbox +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/gh-pages
Seen branch in repository origin/master
Seen branch in repository origin/oop
Seen branch in repository origin/testing
Seen 4 remote branches
 > /usr/bin/git show-ref --tags -d # timeout=10
Checking out Revision 800d375416ca63c22aaeeea1e050f88061d8f370 (origin/oop, origin/testing)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f 800d375416ca63c22aaeeea1e050f88061d8f370
Commit message: "Merge branch 'oop' into testing"
 > /usr/bin/git rev-list --no-walk d72f02eeb22694467c2102c2337c0e7a08b92046 # timeout=10
 > /usr/bin/git rev-list --no-walk 087df48188bad15a627a49445ca8950147fe850c # timeout=10
[cophi_toolbox] $ /bin/sh -xe /tmp/jenkins7139005507020657144.sh
+ tox
GLOB sdist-make: /mnt/data/jenkins/workspace/cophi_toolbox/setup.py
py34 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py34
ERROR: InterpreterNotFound: python3.4
py35 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35
py35 installdeps: pytest, pytest-cov
py35 inst: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
py35 installed: atomicwrites==1.2.0,attrs==18.1.0,cophi==1.0.1,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.1,pandas==0.23.4,pathlib2==2.3.2,pluggy==0.7.1,py==1.5.4,pytest==3.7.3,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,six==1.11.0
py35 runtests: PYTHONHASHSEED='2318160254'
py35 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.5.6, pytest-3.7.3, py-1.5.4, pluggy-0.7.1
rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile:
plugins: cov-2.5.1
collected 40 items

tests/test_model.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF             [100%]

=================================== FAILURES ===================================
____________________ TestTextfile.test_context_manager_txt _____________________

textfile_model_txt = <test_model.TestTextfile object at 0x7fb7260fa9b0>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-0/test_context_manager_txt0')

    def test_context_manager_txt(textfile_model_txt, tmpdir):
>       with textfile_model_txt as document:
E       AttributeError: __exit__

tests/test_model.py:35: AttributeError
____________________ TestTextfile.test_context_manager_xml _____________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fb725e3f940>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-0/test_context_manager_xml0')

    def test_context_manager_xml(textfile_model_xml, tmpdir):
>       with textfile_model_xml as document:
E       AttributeError: __exit__

tests/test_model.py:44: AttributeError
__________________________ TestTextfile.test_read_txt __________________________

textfile_model_txt = <test_model.TestTextfile object at 0x7fb7260ece10>

    def test_read_txt(textfile_model_txt):
>       assert textfile_model_txt.read_txt() == "ABCDE"
E       AttributeError: 'TestTextfile' object has no attribute 'read_txt'

tests/test_model.py:53: AttributeError
_________________________ TestTextfile.test_parse_xml __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fb7260fada0>

    def test_parse_xml(textfile_model_xml):
>       assert isinstance(textfile_model_xml.parse_xml(), etree)
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:56: AttributeError
_________________________ TestTextfile.test_stringify __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fb725eb24a8>

    def test_stringify(textfile_model_xml):
>       tree = textfile_model_xml.parse_xml()
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:59: AttributeError
_____________________________ TestCorpus.test_size _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e3f358>

    def test_size(corpus_model):
>       assert corpus_model.size["documents"] == 5
E       AttributeError: 'TestCorpus' object has no attribute 'size'

tests/test_model.py:69: AttributeError
_____________________________ TestCorpus.test_dtm ______________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e59390>

    def test_dtm(corpus_model):
>       assert list(corpus_model.columns) == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'columns'

tests/test_model.py:73: AttributeError
__________________________ TestCorpus.test_sorted_dtm __________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260facf8>

    def test_sorted_dtm(corpus_model):
>       assert list(corpus_model.sorted_dtm.columns) == "BAECDFGHIJKLMNOP".split()
E       AttributeError: 'TestCorpus' object has no attribute 'sorted_dtm'

tests/test_model.py:78: AttributeError
__________________________ TestCorpus.test_vocabulary __________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725ebc278>

    def test_vocabulary(corpus_model):
>       assert corpus_model.vocabulary == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'vocabulary'

tests/test_model.py:81: AttributeError
________________________ TestCorpus.test_freq_spectrum _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e55320>

    def test_freq_spectrum(corpus_model):
>       assert corpus_model.freq_spectrum.sum() == 15
E       AttributeError: 'TestCorpus' object has no attribute 'freq_spectrum'

tests/test_model.py:84: AttributeError
___________________________ TestCorpus.test_get_mfw ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5a160>

    def test_get_mfw(corpus_model):
>       assert corpus_model.get_mfw(n=1) == ["A"]
E       AttributeError: 'TestCorpus' object has no attribute 'get_mfw'

tests/test_model.py:87: AttributeError
____________________________ TestCorpus.test_get_hl ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5e4a8>

    def test_get_hl(corpus_model):
>       assert corpus_model.get_hl() == "BCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'get_hl'

tests/test_model.py:90: AttributeError
_____________________________ TestCorpus.test_drop _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260fa668>

    def test_drop(corpus_model):
>       assert corpus_model.drop(corpus_model.dtm, ["A"]).sum().sum() == 20.0
E       AttributeError: 'TestCorpus' object has no attribute 'drop'

tests/test_model.py:93: AttributeError
___________________________ TestCorpus.test_zscores ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e806a0>

    def test_zscores(corpus_model):
>       assert corpus_model.zscores.sum().sum() == -1.6653345369377348e-16
E       AttributeError: 'TestCorpus' object has no attribute 'zscores'

tests/test_model.py:96: AttributeError
__________________________ TestCorpus.test_rel_freqs ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e3fb38>

    def test_rel_freqs(corpus_model):
>       assert corpus_model.rel_freqs.sum().sum() == 5.0
E       AttributeError: 'TestCorpus' object has no attribute 'rel_freqs'

tests/test_model.py:99: AttributeError
____________________________ TestCorpus.test_tfidf _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e59c50>

    def test_tfidf(corpus_model):
>       assert corpus_model.tfidf.sum().sum() == 5.169951211177811
E       AttributeError: 'TestCorpus' object has no attribute 'tfidf'

tests/test_model.py:102: AttributeError
__________________________ TestCorpus.test_sum_tokens __________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725eb25f8>

    def test_sum_tokens(corpus_model):
>       assert corpus_model.sum_tokens.sum() == 25.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_tokens'

tests/test_model.py:105: AttributeError
__________________________ TestCorpus.test_sum_types ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725ebc978>

    def test_sum_types(corpus_model):
>       assert corpus_model.sum_types.sum() == 24.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_types'

tests/test_model.py:108: AttributeError
___________________________ TestCorpus.test_get_ttr ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725eb77b8>

    def test_get_ttr(corpus_model):
>       assert corpus_model.get_ttr().sum() == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'get_ttr'

tests/test_model.py:111: AttributeError
_____________________________ TestCorpus.test_ttr ______________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260d2a58>

    def test_ttr(corpus_model):
>       assert corpus_model.ttr == 0.96
E       AttributeError: 'TestCorpus' object has no attribute 'ttr'

tests/test_model.py:114: AttributeError
__________________________ TestCorpus.test_guiraud_r ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e3e5f8>

    def test_guiraud_r(corpus_model):
>       assert corpus_model.guiraud_r == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'guiraud_r'

tests/test_model.py:117: AttributeError
________________________ TestCorpus.test_get_guiraud_r _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260ec8d0>

    def test_get_guiraud_r(corpus_model):
>       assert corpus_model.get_guiraud_r().sum() == 10.73312629199899
E       AttributeError: 'TestCorpus' object has no attribute 'get_guiraud_r'

tests/test_model.py:120: AttributeError
___________________________ TestCorpus.test_herdan_c ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5cb38>

    def test_herdan_c(corpus_model):
>       assert corpus_model.herdan_c == 0.9873179343530823
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_c'

tests/test_model.py:123: AttributeError
_________________________ TestCorpus.test_get_herdan_c _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5aef0>

    def test_get_herdan_c(corpus_model):
>       assert corpus_model.get_herdan_c().sum() == 4.861353116146786
E       AttributeError: 'TestCorpus' object has no attribute 'get_herdan_c'

tests/test_model.py:126: AttributeError
___________________________ TestCorpus.test_dugast_k ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e55940>

    def test_dugast_k(corpus_model):
>       assert corpus_model.dugast_k == 2.718534096750976
E       AttributeError: 'TestCorpus' object has no attribute 'dugast_k'

tests/test_model.py:129: AttributeError
_________________________ TestCorpus.test_get_dugast_k _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260f4eb8>

    def test_get_dugast_k(corpus_model):
>       assert corpus_model.get_dugast_k().sum() == 16.441043713677615
E       AttributeError: 'TestCorpus' object has no attribute 'get_dugast_k'

tests/test_model.py:132: AttributeError
___________________________ TestCorpus.test_maas_a2 ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e3f6a0>

    def test_maas_a2(corpus_model):
>       assert corpus_model.maas_a2 == 0.003939905214404149
E       AttributeError: 'TestCorpus' object has no attribute 'maas_a2'

tests/test_model.py:135: AttributeError
_________________________ TestCorpus.test_get_maas_a2 __________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e80128>

    def test_get_maas_a2(corpus_model):
>       assert corpus_model.get_maas_a2().sum() == 0.08614615250583076
E       AttributeError: 'TestCorpus' object has no attribute 'get_maas_a2'

tests/test_model.py:138: AttributeError
__________________________ TestCorpus.test_tuldava_ln __________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725eb2eb8>

    def test_tuldava_ln(corpus_model):
>       assert corpus_model.tuldava_ln == -0.3101281140380007
E       AttributeError: 'TestCorpus' object has no attribute 'tuldava_ln'

tests/test_model.py:141: AttributeError
________________________ TestCorpus.test_get_tuldava_ln ________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725ebc940>

    def test_get_tuldava_ln(corpus_model):
>       assert corpus_model.get_tuldava_ln().sum() == -2.968427649858546
E       AttributeError: 'TestCorpus' object has no attribute 'get_tuldava_ln'

tests/test_model.py:144: AttributeError
___________________________ TestCorpus.test_brunet_w ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e59438>

    def test_brunet_w(corpus_model):
>       assert corpus_model.brunet_w == 259.9085568722845
E       AttributeError: 'TestCorpus' object has no attribute 'brunet_w'

tests/test_model.py:147: AttributeError
_________________________ TestCorpus.test_get_brunet_w _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260e6eb8>

    def test_get_brunet_w(corpus_model):
>       assert corpus_model.get_brunet_w().sum() == 41.12829855223466
E       AttributeError: 'TestCorpus' object has no attribute 'get_brunet_w'

tests/test_model.py:150: AttributeError
_____________________________ TestCorpus.test_cttr _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725eb74a8>

    def test_cttr(corpus_model):
>       assert corpus_model.cttr == 3.394112549695428
E       AttributeError: 'TestCorpus' object has no attribute 'cttr'

tests/test_model.py:153: AttributeError
___________________________ TestCorpus.test_get_cttr ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5e2b0>

    def test_get_cttr(corpus_model):
>       assert corpus_model.get_cttr().sum() == 7.58946638440411
E       AttributeError: 'TestCorpus' object has no attribute 'get_cttr'

tests/test_model.py:156: AttributeError
___________________________ TestCorpus.test_summer_s ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260ec9e8>

    def test_summer_s(corpus_model):
>       assert corpus_model.summer_s == 0.9890822769947938
E       AttributeError: 'TestCorpus' object has no attribute 'summer_s'

tests/test_model.py:159: AttributeError
_________________________ TestCorpus.test_get_summer_s _________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5cac8>

    def test_get_summer_s(corpus_model):
>       assert corpus_model.get_summer_s().sum() == 4.686372260494915
E       AttributeError: 'TestCorpus' object has no attribute 'get_summer_s'

tests/test_model.py:162: AttributeError
___________________________ TestCorpus.test_entropy ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e5ab00>

    def test_entropy(corpus_model):
>       assert corpus_model.entropy == 16.63780936225843
E       AttributeError: 'TestCorpus' object has no attribute 'entropy'

tests/test_model.py:165: AttributeError
____________________________ TestCorpus.test_yule_k ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fb7260fa0b8>

    def test_yule_k(corpus_model):
>       assert corpus_model.yule_k == -688.0
E       AttributeError: 'TestCorpus' object has no attribute 'yule_k'

tests/test_model.py:168: AttributeError
__________________________ TestCorpus.test_simpson_d ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e3e1d0>

    def test_simpson_d(corpus_model):
>       assert corpus_model.simpson_d == 0.025
E       AttributeError: 'TestCorpus' object has no attribute 'simpson_d'

tests/test_model.py:171: AttributeError
__________________________ TestCorpus.test_herdan_vm ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fb725e51780>

    def test_herdan_vm(corpus_model):
>       assert corpus_model.herdan_vm == 1.417509553171806
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_vm'

tests/test_model.py:174: AttributeError
========================== 40 failed in 5.17 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py35/bin/pytest'
py36 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36
py36 installdeps: pytest, pytest-cov
py36 inst: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
py36 installed: atomicwrites==1.2.0,attrs==18.1.0,cophi==1.0.1,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.1,pandas==0.23.4,pluggy==0.7.1,py==1.5.4,pytest==3.7.3,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,six==1.11.0
py36 runtests: PYTHONHASHSEED='2318160254'
py36 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.7.3, py-1.5.4, pluggy-0.7.1
rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile:
plugins: cov-2.5.1
collected 40 items

tests/test_model.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF             [100%]

=================================== FAILURES ===================================
____________________ TestTextfile.test_context_manager_txt _____________________

textfile_model_txt = <test_model.TestTextfile object at 0x7ffa0ff90dd8>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-1/test_context_manager_txt0')

    def test_context_manager_txt(textfile_model_txt, tmpdir):
>       with textfile_model_txt as document:
E       AttributeError: __enter__

tests/test_model.py:35: AttributeError
____________________ TestTextfile.test_context_manager_xml _____________________

textfile_model_xml = <test_model.TestTextfile object at 0x7ffa0fcf98d0>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-1/test_context_manager_xml0')

    def test_context_manager_xml(textfile_model_xml, tmpdir):
>       with textfile_model_xml as document:
E       AttributeError: __enter__

tests/test_model.py:44: AttributeError
__________________________ TestTextfile.test_read_txt __________________________

textfile_model_txt = <test_model.TestTextfile object at 0x7ffa0ff905f8>

    def test_read_txt(textfile_model_txt):
>       assert textfile_model_txt.read_txt() == "ABCDE"
E       AttributeError: 'TestTextfile' object has no attribute 'read_txt'

tests/test_model.py:53: AttributeError
_________________________ TestTextfile.test_parse_xml __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7ffa0fce6358>

    def test_parse_xml(textfile_model_xml):
>       assert isinstance(textfile_model_xml.parse_xml(), etree)
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:56: AttributeError
_________________________ TestTextfile.test_stringify __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7ffa0fcf9cc0>

    def test_stringify(textfile_model_xml):
>       tree = textfile_model_xml.parse_xml()
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:59: AttributeError
_____________________________ TestCorpus.test_size _____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff72c88>

    def test_size(corpus_model):
>       assert corpus_model.size["documents"] == 5
E       AttributeError: 'TestCorpus' object has no attribute 'size'

tests/test_model.py:69: AttributeError
_____________________________ TestCorpus.test_dtm ______________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd2240>

    def test_dtm(corpus_model):
>       assert list(corpus_model.columns) == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'columns'

tests/test_model.py:73: AttributeError
__________________________ TestCorpus.test_sorted_dtm __________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fce6cc0>

    def test_sorted_dtm(corpus_model):
>       assert list(corpus_model.sorted_dtm.columns) == "BAECDFGHIJKLMNOP".split()
E       AttributeError: 'TestCorpus' object has no attribute 'sorted_dtm'

tests/test_model.py:78: AttributeError
__________________________ TestCorpus.test_vocabulary __________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd5320>

    def test_vocabulary(corpus_model):
>       assert corpus_model.vocabulary == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'vocabulary'

tests/test_model.py:81: AttributeError
________________________ TestCorpus.test_freq_spectrum _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcda7b8>

    def test_freq_spectrum(corpus_model):
>       assert corpus_model.freq_spectrum.sum() == 15
E       AttributeError: 'TestCorpus' object has no attribute 'freq_spectrum'

tests/test_model.py:84: AttributeError
___________________________ TestCorpus.test_get_mfw ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fce7588>

    def test_get_mfw(corpus_model):
>       assert corpus_model.get_mfw(n=1) == ["A"]
E       AttributeError: 'TestCorpus' object has no attribute 'get_mfw'

tests/test_model.py:87: AttributeError
____________________________ TestCorpus.test_get_hl ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fca27f0>

    def test_get_hl(corpus_model):
>       assert corpus_model.get_hl() == "BCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'get_hl'

tests/test_model.py:90: AttributeError
_____________________________ TestCorpus.test_drop _____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa105ca5f8>

    def test_drop(corpus_model):
>       assert corpus_model.drop(corpus_model.dtm, ["A"]).sum().sum() == 20.0
E       AttributeError: 'TestCorpus' object has no attribute 'drop'

tests/test_model.py:93: AttributeError
___________________________ TestCorpus.test_zscores ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff72550>

    def test_zscores(corpus_model):
>       assert corpus_model.zscores.sum().sum() == -1.6653345369377348e-16
E       AttributeError: 'TestCorpus' object has no attribute 'zscores'

tests/test_model.py:96: AttributeError
__________________________ TestCorpus.test_rel_freqs ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd26a0>

    def test_rel_freqs(corpus_model):
>       assert corpus_model.rel_freqs.sum().sum() == 5.0
E       AttributeError: 'TestCorpus' object has no attribute 'rel_freqs'

tests/test_model.py:99: AttributeError
____________________________ TestCorpus.test_tfidf _____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fd08160>

    def test_tfidf(corpus_model):
>       assert corpus_model.tfidf.sum().sum() == 5.169951211177811
E       AttributeError: 'TestCorpus' object has no attribute 'tfidf'

tests/test_model.py:102: AttributeError
__________________________ TestCorpus.test_sum_tokens __________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff7a5c0>

    def test_sum_tokens(corpus_model):
>       assert corpus_model.sum_tokens.sum() == 25.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_tokens'

tests/test_model.py:105: AttributeError
__________________________ TestCorpus.test_sum_types ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fc98048>

    def test_sum_types(corpus_model):
>       assert corpus_model.sum_types.sum() == 24.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_types'

tests/test_model.py:108: AttributeError
___________________________ TestCorpus.test_get_ttr ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff5a940>

    def test_get_ttr(corpus_model):
>       assert corpus_model.get_ttr().sum() == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'get_ttr'

tests/test_model.py:111: AttributeError
_____________________________ TestCorpus.test_ttr ______________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd5710>

    def test_ttr(corpus_model):
>       assert corpus_model.ttr == 0.96
E       AttributeError: 'TestCorpus' object has no attribute 'ttr'

tests/test_model.py:114: AttributeError
__________________________ TestCorpus.test_guiraud_r ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fce75f8>

    def test_guiraud_r(corpus_model):
>       assert corpus_model.guiraud_r == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'guiraud_r'

tests/test_model.py:117: AttributeError
________________________ TestCorpus.test_get_guiraud_r _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fca00b8>

    def test_get_guiraud_r(corpus_model):
>       assert corpus_model.get_guiraud_r().sum() == 10.73312629199899
E       AttributeError: 'TestCorpus' object has no attribute 'get_guiraud_r'

tests/test_model.py:120: AttributeError
___________________________ TestCorpus.test_herdan_c ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcda278>

    def test_herdan_c(corpus_model):
>       assert corpus_model.herdan_c == 0.9873179343530823
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_c'

tests/test_model.py:123: AttributeError
_________________________ TestCorpus.test_get_herdan_c _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fca21d0>

    def test_get_herdan_c(corpus_model):
>       assert corpus_model.get_herdan_c().sum() == 4.861353116146786
E       AttributeError: 'TestCorpus' object has no attribute 'get_herdan_c'

tests/test_model.py:126: AttributeError
___________________________ TestCorpus.test_dugast_k ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fce69e8>

    def test_dugast_k(corpus_model):
>       assert corpus_model.dugast_k == 2.718534096750976
E       AttributeError: 'TestCorpus' object has no attribute 'dugast_k'

tests/test_model.py:129: AttributeError
_________________________ TestCorpus.test_get_dugast_k _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff7a978>

    def test_get_dugast_k(corpus_model):
>       assert corpus_model.get_dugast_k().sum() == 16.441043713677615
E       AttributeError: 'TestCorpus' object has no attribute 'get_dugast_k'

tests/test_model.py:132: AttributeError
___________________________ TestCorpus.test_maas_a2 ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcb8a90>

    def test_maas_a2(corpus_model):
>       assert corpus_model.maas_a2 == 0.003939905214404149
E       AttributeError: 'TestCorpus' object has no attribute 'maas_a2'

tests/test_model.py:135: AttributeError
_________________________ TestCorpus.test_get_maas_a2 __________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fd08b38>

    def test_get_maas_a2(corpus_model):
>       assert corpus_model.get_maas_a2().sum() == 0.08614615250583076
E       AttributeError: 'TestCorpus' object has no attribute 'get_maas_a2'

tests/test_model.py:138: AttributeError
__________________________ TestCorpus.test_tuldava_ln __________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd1668>

    def test_tuldava_ln(corpus_model):
>       assert corpus_model.tuldava_ln == -0.3101281140380007
E       AttributeError: 'TestCorpus' object has no attribute 'tuldava_ln'

tests/test_model.py:141: AttributeError
________________________ TestCorpus.test_get_tuldava_ln ________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcd2278>

    def test_get_tuldava_ln(corpus_model):
>       assert corpus_model.get_tuldava_ln().sum() == -2.968427649858546
E       AttributeError: 'TestCorpus' object has no attribute 'get_tuldava_ln'

tests/test_model.py:144: AttributeError
___________________________ TestCorpus.test_brunet_w ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff7ad68>

    def test_brunet_w(corpus_model):
>       assert corpus_model.brunet_w == 259.9085568722845
E       AttributeError: 'TestCorpus' object has no attribute 'brunet_w'

tests/test_model.py:147: AttributeError
_________________________ TestCorpus.test_get_brunet_w _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcf9d68>

    def test_get_brunet_w(corpus_model):
>       assert corpus_model.get_brunet_w().sum() == 41.12829855223466
E       AttributeError: 'TestCorpus' object has no attribute 'get_brunet_w'

tests/test_model.py:150: AttributeError
_____________________________ TestCorpus.test_cttr _____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fc98a90>

    def test_cttr(corpus_model):
>       assert corpus_model.cttr == 3.394112549695428
E       AttributeError: 'TestCorpus' object has no attribute 'cttr'

tests/test_model.py:153: AttributeError
___________________________ TestCorpus.test_get_cttr ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fca0ef0>

    def test_get_cttr(corpus_model):
>       assert corpus_model.get_cttr().sum() == 7.58946638440411
E       AttributeError: 'TestCorpus' object has no attribute 'get_cttr'

tests/test_model.py:156: AttributeError
___________________________ TestCorpus.test_summer_s ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fce7b00>

    def test_summer_s(corpus_model):
>       assert corpus_model.summer_s == 0.9890822769947938
E       AttributeError: 'TestCorpus' object has no attribute 'summer_s'

tests/test_model.py:159: AttributeError
_________________________ TestCorpus.test_get_summer_s _________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fcdadd8>

    def test_get_summer_s(corpus_model):
>       assert corpus_model.get_summer_s().sum() == 4.686372260494915
E       AttributeError: 'TestCorpus' object has no attribute 'get_summer_s'

tests/test_model.py:162: AttributeError
___________________________ TestCorpus.test_entropy ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fc89dd8>

    def test_entropy(corpus_model):
>       assert corpus_model.entropy == 16.63780936225843
E       AttributeError: 'TestCorpus' object has no attribute 'entropy'

tests/test_model.py:165: AttributeError
____________________________ TestCorpus.test_yule_k ____________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff901d0>

    def test_yule_k(corpus_model):
>       assert corpus_model.yule_k == -688.0
E       AttributeError: 'TestCorpus' object has no attribute 'yule_k'

tests/test_model.py:168: AttributeError
__________________________ TestCorpus.test_simpson_d ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0ff72e48>

    def test_simpson_d(corpus_model):
>       assert corpus_model.simpson_d == 0.025
E       AttributeError: 'TestCorpus' object has no attribute 'simpson_d'

tests/test_model.py:171: AttributeError
__________________________ TestCorpus.test_herdan_vm ___________________________

corpus_model = <test_model.TestCorpus object at 0x7ffa0fd08f28>

    def test_herdan_vm(corpus_model):
>       assert corpus_model.herdan_vm == 1.417509553171806
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_vm'

tests/test_model.py:174: AttributeError
========================== 40 failed in 0.65 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py36/bin/pytest'
py37 create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37
py37 installdeps: pytest, pytest-cov
py37 inst: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
py37 installed: atomicwrites==1.2.0,attrs==18.1.0,cophi==1.0.1,coverage==4.5.1,lxml==4.2.4,more-itertools==4.3.0,numpy==1.15.1,pandas==0.23.4,pluggy==0.7.1,py==1.5.4,pytest==3.7.3,pytest-cov==2.5.1,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,six==1.11.0
py37 runtests: PYTHONHASHSEED='2318160254'
py37 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.7.0, pytest-3.7.3, py-1.5.4, pluggy-0.7.1
rootdir: /mnt/data/jenkins/workspace/cophi_toolbox, inifile:
plugins: cov-2.5.1
collected 40 items

tests/test_model.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF             [100%]

=================================== FAILURES ===================================
____________________ TestTextfile.test_context_manager_txt _____________________

textfile_model_txt = <test_model.TestTextfile object at 0x7fae2e83a8d0>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-2/test_context_manager_txt0')

    def test_context_manager_txt(textfile_model_txt, tmpdir):
>       with textfile_model_txt as document:
E       AttributeError: __enter__

tests/test_model.py:35: AttributeError
____________________ TestTextfile.test_context_manager_xml _____________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fae2e79f780>
tmpdir = local('/tmp/pytest-of-jenkins/pytest-2/test_context_manager_xml0')

    def test_context_manager_xml(textfile_model_xml, tmpdir):
>       with textfile_model_xml as document:
E       AttributeError: __enter__

tests/test_model.py:44: AttributeError
__________________________ TestTextfile.test_read_txt __________________________

textfile_model_txt = <test_model.TestTextfile object at 0x7fae2e82bfd0>

    def test_read_txt(textfile_model_txt):
>       assert textfile_model_txt.read_txt() == "ABCDE"
E       AttributeError: 'TestTextfile' object has no attribute 'read_txt'

tests/test_model.py:53: AttributeError
_________________________ TestTextfile.test_parse_xml __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fae2e81ef60>

    def test_parse_xml(textfile_model_xml):
>       assert isinstance(textfile_model_xml.parse_xml(), etree)
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:56: AttributeError
_________________________ TestTextfile.test_stringify __________________________

textfile_model_xml = <test_model.TestTextfile object at 0x7fae2e83a780>

    def test_stringify(textfile_model_xml):
>       tree = textfile_model_xml.parse_xml()
E       AttributeError: 'TestTextfile' object has no attribute 'parse_xml'

tests/test_model.py:59: AttributeError
_____________________________ TestCorpus.test_size _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e80f0b8>

    def test_size(corpus_model):
>       assert corpus_model.size["documents"] == 5
E       AttributeError: 'TestCorpus' object has no attribute 'size'

tests/test_model.py:69: AttributeError
_____________________________ TestCorpus.test_dtm ______________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e79ff60>

    def test_dtm(corpus_model):
>       assert list(corpus_model.columns) == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'columns'

tests/test_model.py:73: AttributeError
__________________________ TestCorpus.test_sorted_dtm __________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e804470>

    def test_sorted_dtm(corpus_model):
>       assert list(corpus_model.sorted_dtm.columns) == "BAECDFGHIJKLMNOP".split()
E       AttributeError: 'TestCorpus' object has no attribute 'sorted_dtm'

tests/test_model.py:78: AttributeError
__________________________ TestCorpus.test_vocabulary __________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7a60b8>

    def test_vocabulary(corpus_model):
>       assert corpus_model.vocabulary == "ABCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'vocabulary'

tests/test_model.py:81: AttributeError
________________________ TestCorpus.test_freq_spectrum _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e80f5c0>

    def test_freq_spectrum(corpus_model):
>       assert corpus_model.freq_spectrum.sum() == 15
E       AttributeError: 'TestCorpus' object has no attribute 'freq_spectrum'

tests/test_model.py:84: AttributeError
___________________________ TestCorpus.test_get_mfw ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e83af98>

    def test_get_mfw(corpus_model):
>       assert corpus_model.get_mfw(n=1) == ["A"]
E       AttributeError: 'TestCorpus' object has no attribute 'get_mfw'

tests/test_model.py:87: AttributeError
____________________________ TestCorpus.test_get_hl ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7cb3c8>

    def test_get_hl(corpus_model):
>       assert corpus_model.get_hl() == "BCDEFGHIKLMNO".split()
E       AttributeError: 'TestCorpus' object has no attribute 'get_hl'

tests/test_model.py:90: AttributeError
_____________________________ TestCorpus.test_drop _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e79fe48>

    def test_drop(corpus_model):
>       assert corpus_model.drop(corpus_model.dtm, ["A"]).sum().sum() == 20.0
E       AttributeError: 'TestCorpus' object has no attribute 'drop'

tests/test_model.py:93: AttributeError
___________________________ TestCorpus.test_zscores ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7b9208>

    def test_zscores(corpus_model):
>       assert corpus_model.zscores.sum().sum() == -1.6653345369377348e-16
E       AttributeError: 'TestCorpus' object has no attribute 'zscores'

tests/test_model.py:96: AttributeError
__________________________ TestCorpus.test_rel_freqs ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7bd3c8>

    def test_rel_freqs(corpus_model):
>       assert corpus_model.rel_freqs.sum().sum() == 5.0
E       AttributeError: 'TestCorpus' object has no attribute 'rel_freqs'

tests/test_model.py:99: AttributeError
____________________________ TestCorpus.test_tfidf _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7c0c18>

    def test_tfidf(corpus_model):
>       assert corpus_model.tfidf.sum().sum() == 5.169951211177811
E       AttributeError: 'TestCorpus' object has no attribute 'tfidf'

tests/test_model.py:102: AttributeError
__________________________ TestCorpus.test_sum_tokens __________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e80ff60>

    def test_sum_tokens(corpus_model):
>       assert corpus_model.sum_tokens.sum() == 25.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_tokens'

tests/test_model.py:105: AttributeError
__________________________ TestCorpus.test_sum_types ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae4b419e10>

    def test_sum_types(corpus_model):
>       assert corpus_model.sum_types.sum() == 24.0
E       AttributeError: 'TestCorpus' object has no attribute 'sum_types'

tests/test_model.py:108: AttributeError
___________________________ TestCorpus.test_get_ttr ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e81e080>

    def test_get_ttr(corpus_model):
>       assert corpus_model.get_ttr().sum() == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'get_ttr'

tests/test_model.py:111: AttributeError
_____________________________ TestCorpus.test_ttr ______________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7a6f98>

    def test_ttr(corpus_model):
>       assert corpus_model.ttr == 0.96
E       AttributeError: 'TestCorpus' object has no attribute 'ttr'

tests/test_model.py:114: AttributeError
__________________________ TestCorpus.test_guiraud_r ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2eaa55f8>

    def test_guiraud_r(corpus_model):
>       assert corpus_model.guiraud_r == 4.8
E       AttributeError: 'TestCorpus' object has no attribute 'guiraud_r'

tests/test_model.py:117: AttributeError
________________________ TestCorpus.test_get_guiraud_r _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7be470>

    def test_get_guiraud_r(corpus_model):
>       assert corpus_model.get_guiraud_r().sum() == 10.73312629199899
E       AttributeError: 'TestCorpus' object has no attribute 'get_guiraud_r'

tests/test_model.py:120: AttributeError
___________________________ TestCorpus.test_herdan_c ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7b99e8>

    def test_herdan_c(corpus_model):
>       assert corpus_model.herdan_c == 0.9873179343530823
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_c'

tests/test_model.py:123: AttributeError
_________________________ TestCorpus.test_get_herdan_c _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7cb518>

    def test_get_herdan_c(corpus_model):
>       assert corpus_model.get_herdan_c().sum() == 4.861353116146786
E       AttributeError: 'TestCorpus' object has no attribute 'get_herdan_c'

tests/test_model.py:126: AttributeError
___________________________ TestCorpus.test_dugast_k ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e804198>

    def test_dugast_k(corpus_model):
>       assert corpus_model.dugast_k == 2.718534096750976
E       AttributeError: 'TestCorpus' object has no attribute 'dugast_k'

tests/test_model.py:129: AttributeError
_________________________ TestCorpus.test_get_dugast_k _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7ce160>

    def test_get_dugast_k(corpus_model):
>       assert corpus_model.get_dugast_k().sum() == 16.441043713677615
E       AttributeError: 'TestCorpus' object has no attribute 'get_dugast_k'

tests/test_model.py:132: AttributeError
___________________________ TestCorpus.test_maas_a2 ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7bdac8>

    def test_maas_a2(corpus_model):
>       assert corpus_model.maas_a2 == 0.003939905214404149
E       AttributeError: 'TestCorpus' object has no attribute 'maas_a2'

tests/test_model.py:135: AttributeError
_________________________ TestCorpus.test_get_maas_a2 __________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e79ff98>

    def test_get_maas_a2(corpus_model):
>       assert corpus_model.get_maas_a2().sum() == 0.08614615250583076
E       AttributeError: 'TestCorpus' object has no attribute 'get_maas_a2'

tests/test_model.py:138: AttributeError
__________________________ TestCorpus.test_tuldava_ln __________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e83a1d0>

    def test_tuldava_ln(corpus_model):
>       assert corpus_model.tuldava_ln == -0.3101281140380007
E       AttributeError: 'TestCorpus' object has no attribute 'tuldava_ln'

tests/test_model.py:141: AttributeError
________________________ TestCorpus.test_get_tuldava_ln ________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7c06a0>

    def test_get_tuldava_ln(corpus_model):
>       assert corpus_model.get_tuldava_ln().sum() == -2.968427649858546
E       AttributeError: 'TestCorpus' object has no attribute 'get_tuldava_ln'

tests/test_model.py:144: AttributeError
___________________________ TestCorpus.test_brunet_w ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e80f828>

    def test_brunet_w(corpus_model):
>       assert corpus_model.brunet_w == 259.9085568722845
E       AttributeError: 'TestCorpus' object has no attribute 'brunet_w'

tests/test_model.py:147: AttributeError
_________________________ TestCorpus.test_get_brunet_w _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7ba2e8>

    def test_get_brunet_w(corpus_model):
>       assert corpus_model.get_brunet_w().sum() == 41.12829855223466
E       AttributeError: 'TestCorpus' object has no attribute 'get_brunet_w'

tests/test_model.py:150: AttributeError
_____________________________ TestCorpus.test_cttr _____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7a6c18>

    def test_cttr(corpus_model):
>       assert corpus_model.cttr == 3.394112549695428
E       AttributeError: 'TestCorpus' object has no attribute 'cttr'

tests/test_model.py:153: AttributeError
___________________________ TestCorpus.test_get_cttr ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7be320>

    def test_get_cttr(corpus_model):
>       assert corpus_model.get_cttr().sum() == 7.58946638440411
E       AttributeError: 'TestCorpus' object has no attribute 'get_cttr'

tests/test_model.py:156: AttributeError
___________________________ TestCorpus.test_summer_s ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7b9518>

    def test_summer_s(corpus_model):
>       assert corpus_model.summer_s == 0.9890822769947938
E       AttributeError: 'TestCorpus' object has no attribute 'summer_s'

tests/test_model.py:159: AttributeError
_________________________ TestCorpus.test_get_summer_s _________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7cb5f8>

    def test_get_summer_s(corpus_model):
>       assert corpus_model.get_summer_s().sum() == 4.686372260494915
E       AttributeError: 'TestCorpus' object has no attribute 'get_summer_s'

tests/test_model.py:162: AttributeError
___________________________ TestCorpus.test_entropy ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e804fd0>

    def test_entropy(corpus_model):
>       assert corpus_model.entropy == 16.63780936225843
E       AttributeError: 'TestCorpus' object has no attribute 'entropy'

tests/test_model.py:165: AttributeError
____________________________ TestCorpus.test_yule_k ____________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e7ce588>

    def test_yule_k(corpus_model):
>       assert corpus_model.yule_k == -688.0
E       AttributeError: 'TestCorpus' object has no attribute 'yule_k'

tests/test_model.py:168: AttributeError
__________________________ TestCorpus.test_simpson_d ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e81e1d0>

    def test_simpson_d(corpus_model):
>       assert corpus_model.simpson_d == 0.025
E       AttributeError: 'TestCorpus' object has no attribute 'simpson_d'

tests/test_model.py:171: AttributeError
__________________________ TestCorpus.test_herdan_vm ___________________________

corpus_model = <test_model.TestCorpus object at 0x7fae2e79fc50>

    def test_herdan_vm(corpus_model):
>       assert corpus_model.herdan_vm == 1.417509553171806
E       AttributeError: 'TestCorpus' object has no attribute 'herdan_vm'

tests/test_model.py:174: AttributeError
========================== 40 failed in 0.65 seconds ===========================
ERROR: InvocationError: '/mnt/data/jenkins/workspace/cophi_toolbox/.tox/py37/bin/pytest'
docs create: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/docs
docs installdeps: -r/mnt/data/jenkins/workspace/cophi_toolbox/docs/requirements.txt
docs inst: /mnt/data/jenkins/workspace/cophi_toolbox/.tox/dist/cophi-1.0.1.zip
docs installed: alabaster==0.7.11,Babel==2.6.0,certifi==2018.8.24,chardet==3.0.4,cophi==1.0.1,docutils==0.14,idna==2.7,imagesize==1.0.0,Jinja2==2.10,lxml==4.2.4,MarkupSafe==1.0,numpy==1.15.1,packaging==17.1,pandas==0.23.4,Pygments==2.2.0,pyparsing==2.2.0,python-dateutil==2.7.3,pytz==2018.5,regex==2018.8.17,requests==2.19.1,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.7.7,sphinxcontrib-websupport==1.1.0,urllib3==1.23
docs runtests: PYTHONHASHSEED='2318160254'
docs runtests: commands[0] | sphinx-build -E -b html docs dist/docs
Running Sphinx v1.7.7
making output directory...
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 3 source files that are out of date
updating environment: 3 added, 0 changed, 0 removed
reading sources... [ 33%] index
reading sources... [ 66%] reference/cophi-toolbox
reading sources... [100%] reference/index

/mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst:3: WARNING: Unknown directive type "testsetup".

.. testsetup::

    from cophi import *
WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised:
No module named 'cophi_toolbox'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst: WARNING: document isn't included in any toctree
/mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [ 33%] index
writing output... [ 66%] reference/cophi-toolbox
writing output... [100%] reference/index

generating indices... genindex
writing additional pages... search
copying static files... WARNING: html_static_path entry '/mnt/data/jenkins/workspace/cophi_toolbox/docs/_static' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 5 warnings.

The HTML pages are in dist/docs.
docs runtests: commands[1] | sphinx-build -b linkcheck docs dist/docs
Running Sphinx v1.7.7
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [linkcheck]: targets for 3 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] reference/cophi-toolbox

/mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst:3: WARNING: Unknown directive type "testsetup".

.. testsetup::

    from cophi import *
WARNING: autodoc: failed to import module 'cophi_toolbox.preprocessing'; the following exception was raised:
No module named 'cophi_toolbox'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/cophi-toolbox.rst: WARNING: document isn't included in any toctree
/mnt/data/jenkins/workspace/cophi_toolbox/docs/reference/index.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [ 33%] index

writing output... [ 66%] reference/cophi-toolbox

writing output... [100%] reference/index


build succeeded, 4 warnings.

Look for any errors in the above output or in dist/docs/output.txt
___________________________________ summary ____________________________________
SKIPPED:  py34: InterpreterNotFound: python3.4
ERROR:   py35: commands failed
ERROR:   py36: commands failed
ERROR:   py37: commands failed
  docs: commands succeeded
Build step 'Execute shell' marked build as failure
[TASKS] Skipping publisher since build result is FAILURE
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
[Cobertura] Publishing Cobertura coverage report...

[Set GitHub commit status (universal)] ERROR on repos [GHRepository@13ca775e[description=A repository containing general functions for processing and accessing text corpora,homepage=<null>,name=cophi-toolbox,license=<null>,fork=false,size=458,milestones={},language=Python,commits={},source=<null>,parent=<null>,responseHeaderFields={null=[HTTP/1.1 200 OK], Access-Control-Allow-Origin=[*], Access-Control-Expose-Headers=[ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval], Cache-Control=[private, max-age=60, s-maxage=60], Content-Encoding=[gzip], Content-Security-Policy=[default-src 'none'], Content-Type=[application/json; charset=utf-8], Date=[Mon, 27 Aug 2018 14:23:42 GMT], ETag=[W/"372da335b1deb07cfb83274bb43de91d"], Last-Modified=[Thu, 23 Aug 2018 22:20:31 GMT], OkHttp-Received-Millis=[1535379822311], OkHttp-Response-Source=[CONDITIONAL_CACHE 200], OkHttp-Selected-Protocol=[http/1.1], OkHttp-Sent-Millis=[1535379822135], Referrer-Policy=[origin-when-cross-origin, strict-origin-when-cross-origin], Server=[GitHub.com], Status=[200 OK], Strict-Transport-Security=[max-age=31536000; includeSubdomains; preload], Transfer-Encoding=[chunked], Vary=[Accept, Authorization, Cookie, X-GitHub-OTP], X-Accepted-OAuth-Scopes=[repo], X-Content-Type-Options=[nosniff], X-Frame-Options=[deny], X-GitHub-Media-Type=[github.v3; format=json], X-GitHub-Request-Id=[B16B:1B95:A2E712:172F304:5B84096D], X-OAuth-Scopes=[admin:repo_hook, repo, repo:status], X-RateLimit-Limit=[5000], X-RateLimit-Remaining=[4988], X-RateLimit-Reset=[1535382870], X-Runtime-rack=[0.079920], X-XSS-Protection=[1; mode=block]},url=https://api.github.com/repos/cophi-wue/cophi-toolbox,id=113045733]] (sha:800d375) with context:cophi_toolbox
Setting commit status on GitHub for https://github.com/cophi-wue/cophi-toolbox/commit/800d375416ca63c22aaeeea1e050f88061d8f370
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
Finished: FAILURE