[vmchecker-dev] CR request: submit.py

Alexandru Moșoi brtzsnr at gmail.com
Fri Jul 10 13:04:43 EEST 2009


I've implemented the function that stores a submission. It's the only
good piece of code I've written lately, the other files must go.
Please let me know what you think. I used the sqlalchemy to make sql
queries easier.

If you want to test do the following:
./setup install --home=~
./tests/ut_submit.py

Ofcourse, you need mysql installed (see file sql.py, included only for
things to work and needs to be redone)..

Below you have the links to sources [0] and a simple unittest [1].

[0] http://github.com/brtzsnr/vmchecker/blob/c3c6eaca2300d8bf5309f0f46998ff21f1551b15/lib/submit.py
[1] http://github.com/brtzsnr/vmchecker/blob/c3c6eaca2300d8bf5309f0f46998ff21f1551b15/tests/ut_submit.py

-- 
eng. Alexandru Moșoi
http://alexandru.mosoi.googlepages.com


More information about the vmchecker-dev mailing list