Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

Problem running tests after cloning master #117

@maraoz

Description

@maraoz

Followed the README instructions to run tests and I'm getting:

(env) maraoz@host:~/git/serpent$ py.test
============================ test session starts =============================
platform linux2 -- Python 2.7.12+, pytest-2.9.2, py-1.4.33, pluggy-0.3.1
rootdir: /home/maraoz/git/serpent, inifile: 
collected 0 items / 1 errors 

=================================== ERRORS ===================================
_____________________________ ERROR collecting  ______________________________env/local/lib/python2.7/site-packages/py/_path/common.py:367: in visit
    for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):                                      
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):
env/local/lib/python2.7/site-packages/py/_path/common.py:416: in gen
    for p in self.gen(subdir):
env/local/lib/python2.7/site-packages/py/_path/common.py:406: in gen
    if p.check(dir=1) and (rec is None or rec(p))])
env/local/lib/python2.7/site-packages/_pytest/main.py:647: in _recurse
    ihook = self.gethookproxy(path)
env/local/lib/python2.7/site-packages/_pytest/main.py:550: in gethookproxy
    my_conftestmodules = pm._getconftestmodules(fspath)
env/local/lib/python2.7/site-packages/_pytest/config.py:297: in _getconftestmo
dules
    mod = self._importconftest(conftestpath)
env/local/lib/python2.7/site-packages/_pytest/config.py:333: in _importconftes
t
    self.consider_conftest(mod)
env/local/lib/python2.7/site-packages/_pytest/config.py:356: in consider_conft
est
    if self.register(conftestmodule, name=conftestmodule.__file__):
env/local/lib/python2.7/site-packages/_pytest/config.py:208: in register
    ret = super(PytestPluginManager, self).register(plugin, name)
env/local/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py:350:
 in register
    (plugin_name, plugin, self._name2plugin))
E   ValueError: Plugin already registered: /home/maraoz/git/serpent/env/lib/python2.7/site-packages/ethereum/tests/conftest.pyc=<module 'ethereum.tests.conftest' from '/home/maraoz/git/serpent/env/lib/python2.7/site-packages/ethereum/
tests/conftest.pyc'>
E   {'cacheprovider': <module '_pytest.cacheprovider' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/cacheprovider.pyc'>, 'helpconfig': <module '_pytest.helpconfig' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/helpconfig.pyc'>, 'pytestconfig': <_pytest.config.Config object at 0x7ffac9ee3e50>, '140715106383312': <_pytest.config.PytestPluginManager object at 0x7ffac9ee35d0>, 'runner': <module '_pytest.runner' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pyt
est/runner.pyc'>, 'unittest': <module '_pytest.unittest' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/unittest.pyc'>, 'pastebin': <module '_pytest.pastebin' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/pastebin.pyc'>, 'skipping': <module '_pytest.skipping' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/skipping.pyc'>, 'genscript': <module '_pytest.genscript' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/genscript.pyc'>, 'session': <Session 'serpent'>, 'lfplugin': <_pytest.cacheprovider.LFPlugin instance at 0x7ffac7815bd8>, 'tmpdir': <module '_pytest.tmpdir' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/tmpdir.pyc'>, 'capture': <module '_pytest.capture' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/capture.pyc'>, '/home/maraoz/git/serpent/env/lib/python2.7/site-packages/ethereum/tests/conftest.pyc': <module 'ethereum.tests.conftest' from '/home/maraoz/git/serpent/env/lib/python2.7/site-packages/ethereum/tests/conftest.pyc'>, 'terminalreporter': <_pytest.terminal.TerminalReporter instance at 0x7ffac78240e0>, 'assertion': <module '_pytest.assertion' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/assertion/__init__.pyc'>, 'mark': <module '_pytest.mark' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/mark.pyc'>, 'terminal': <module '_pytest.terminal' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/terminal.pyc'>, 'main': <module '_pytest.main' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/main.pyc'>, 'nose': <module '_pytest.nose' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/nose.pyc'>, 'python': <module '_pytest.python' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/python.pyc'>, 'recwarn': <module '_pytest.recwarn' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/recwarn.pyc'>, 'funcmanage': <_pytest.python.FixtureManager instance at 0x7ffac7831170>, 'monkeypatch': <module '_pytest.monkeypatch' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/monkeypatch.pyc'>, 'resultlog': <module '_pytest.resultlog' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/resultlog.pyc'>, 'capturemanager': <_pytest.capture.CaptureManager instance at 0x7ffac782c908>, 'junitxml': <module '_pytest.junitxml' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/junitxml.pyc'>, 'doctest': <module '_pytest.doctest' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/doctest.pyc'>, '/home/maraoz/git/serpent/env/lib/python2.7/site-packages/wheel/test/conftest.pyc': <module 'wheel.test.conftest' from '/home/maraoz/git/serpent/env/lib/python2.7/site-packages/wheel/test/conftest.pyc'>, 'pdb': <module '_pytest.pdb' from '/home/maraoz/git/serpent/env/local/lib/python2.7/site-packages/_pytest/pdb.pyc'>}
========================== 1 error in 0.83 seconds ===========================

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions