Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are not running on 2.7.11 #11

Open
petenilson opened this issue Feb 13, 2017 · 0 comments
Open

Tests are not running on 2.7.11 #11

petenilson opened this issue Feb 13, 2017 · 0 comments

Comments

@petenilson
Copy link

using nosetests --cover-package=pyramid_simpleauth --cover-tests --with-doctest --with-coverage im getting the following errors.

Coverage.py warning: Module pyramid_simpleauth was never imported.
Name    Stmts   Miss  Cover
---------------------------
Traceback (most recent call last):
  File "/Users/petenilson/projects/ba47/venv/bin/nosetests", line 11, in <module>
    sys.exit(run_exit())
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/core.py", line 121, in __init__
    **extra_args)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 95, in __init__
    self.runTests()
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/core.py", line 207, in runTests
    result = self.testRunner.run(self.test)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/core.py", line 66, in run
    result.printErrors()
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/result.py", line 110, in printErrors
    self.config.plugins.report(self.stream)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
    return self.call(*arg, **kw)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
    result = meth(*arg, **kw)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/nose/plugins/cover.py", line 190, in report
    self.coverInstance.report(modules, file=stream)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/coverage/control.py", line 977, in report
    return reporter.report(morfs, outfile=file)
  File "/Users/petenilson/projects/ba47/venv/lib/python2.7/site-packages/coverage/summary.py", line 158, in report
    raise CoverageException("No data to report.")
coverage.misc.CoverageException: No data to report.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant