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

I just wanted to run tests, but I could not #73

Open
flaviomicheletti opened this issue Jun 24, 2015 · 0 comments
Open

I just wanted to run tests, but I could not #73

flaviomicheletti opened this issue Jun 24, 2015 · 0 comments
Labels

Comments

@flaviomicheletti
Copy link

Excuse my ignorance
I just wanted to run tests, but I could not.

Before...

git clone this project
cd /pysimplesoap

I tried (1)....

python -m unittest discover

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

also tried (2)...

python -m unittest tests/suite.py
----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

and tried (3)

sudo pip install coverage
coverage run tests/suite.py
Traceback (most recent call last):
  File "tests/suite.py", line 40, in <module>
    test()
  File "tests/suite.py", line 12, in test
    from . import soapdispatcher_test
ValueError: Attempted relative import in non-package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants