Commit 035e5926 authored by Vincent Pelletier's avatar Vincent Pelletier

Make classes available to test suite declarations.

parent 557ebc2a
...@@ -314,5 +314,6 @@ class SubprocessError(EnvironmentError): ...@@ -314,5 +314,6 @@ class SubprocessError(EnvironmentError):
return 'Error %i' % self.status_code return 'Error %i' % self.status_code
sys.modules['test_suite'] = module = imp.new_module('test_suite') sys.modules['test_suite'] = module = imp.new_module('test_suite')
for var in SubprocessError, TestSuite, ERP5TypeTestSuite: for var in SubprocessError, TestSuite, ERP5TypeTestSuite, ProjectTestSuite, \
SavedTestSuite:
setattr(module, var.__name__, var) setattr(module, var.__name__, var)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment