Skip to content
This repository has been archived by the owner on Dec 25, 2019. It is now read-only.

Unittesting no longer works because src/main.py was removed #28

Closed
derdon opened this issue Jun 23, 2012 · 2 comments
Closed

Unittesting no longer works because src/main.py was removed #28

derdon opened this issue Jun 23, 2012 · 2 comments

Comments

@derdon
Copy link

derdon commented Jun 23, 2012

If I run the testrunner.py file as desribed, I get an ImportError because the main module cannot be found:

python testrunner.py ~/Downloads/google_appengine/
Traceback (most recent call last):
  File "testrunner.py", line 36, in <module>
    main(SDK_PATH, TEST_PATH)
  File "testrunner.py", line 21, in main
    import main
ImportError: No module named main

I found out (thanks to git/github :)) that once there was a src/main.py file, which was removed for any reason: d848bea

Why was it removed? Is it really no longer needed? If yes, what am I doing wrong or in an outdated way? If it's still needed: give it back!

@kamalgill
Copy link
Owner

Ah, thanks for catching this. The code was refactored to support the Python 2.7 runtime, where the main.py module is no longer applicable. Unfortunately, the testrunner code wasn't updated to reflect the refactoring--will fix as soon as feasible.

@derdon
Copy link
Author

derdon commented Jun 27, 2012

This doesn't fix the issue. Please mark it only as "closed" if testing works again with Python2.7, otherwise it might become forgotten.

@kamalgill kamalgill reopened this Jun 28, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants