MPvHarmelen / Freevle

A good looking website package for schools, including visual awesomeness & an easy as pie CMS
http://freevle.org
10 stars 4 forks source link

Importerror in testing.py catches too much #85

Open MPvHarmelen opened 11 years ago

MPvHarmelen commented 11 years ago

When an importerror is raised inside the app, it is caught as if the app doesn't have a testing module, which isn't the case. Someone needs to think of a way to allow tests.py not to exist, but not allow any import errors inside it.

martijnarts commented 11 years ago

Easy, we'll check if it exists using os.path.exists.

Martijn

On Thu, Jul 25, 2013 at 4:35 PM, Martin notifications@github.com wrote:

When an importerror is raised inside the app, it is caught as if the app doesn't have a testing module, which isn't the case. Someone needs to think of a way to allow tests.py not to exist, but not allow any import errors inside it.

— Reply to this email directly or view it on GitHubhttps://github.com/Freevle/Freevle/issues/85 .