0

reading pylons documentations I did understand that websetup:setup_app is only called when the application is setup at first time by paster script. But, I found now, setup_app is call every time that application starts. Debugging the code, this behaviour seems right because in appinstall.setup_config the module is loaded (as PRJ.websetup) and as it have the setup_app attribute, the function is called.

Can you point me in the right direction?

Craig P. Motlin
  • 26,452
  • 17
  • 99
  • 126
Hugo
  • 2,139
  • 4
  • 22
  • 30

1 Answers1

2

Ok, I was wrong. The websetup is used by the setup script and before the test are executed.

A controller make an import for a test module, and then setup_app is called.

Thanks!.

Hugo
  • 2,139
  • 4
  • 22
  • 30