summaryrefslogtreecommitdiff
path: root/frontend/frontend_unittest.py
AgeCommit message (Collapse)AuthorFilesLines
2008-07-14Fix the unittest to make it pass and avoid relying on a fragile parser:mbligh1-3/+3
- Use the __import__ and import coherently - Use the standard unittest framework Rewrite of the barrier unittest as using fork() completely messed up the overall test suite and ran it 8 times. Visibility: Medium/High - some import changes Risk: Medium Tests: - Ran unittest_suite.py for all and individual directories - Ran coverage_suite.py for all and individual directories - Ran manage.py test from frontend directory. Signed-off-by: Jean-Marc Eurin <jmeurin@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1827 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-13-change frontend_unittest to execute the unittests directly (as opposed to ↵showard1-6/+7
executing them through manage.py in a separate process). this should get us coverage data. the unit tests could still be better integrated into the whole suite, but this is an improvement. -some fixes to doctests related to tab-space conversion git-svn-id: svn://test.kernel.org/autotest/trunk@1702 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-06Convert all python code to use four-space indents instead of eight-space tabs.jadmanski1-5/+5
Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-02frontend_unittest.py was not running successfully if run from any other ↵mbligh1-2/+2
directory other than its own. This is now fixed. Signed-off-by: Travis Miller <raphtee@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1579 592f7852-d20e-0410-864c-8624ca9c26a4
2008-05-16Remove all places where we are hardcoding python2.4 on thembligh1-1/+2
scripts Risk: Medium/High Summary: After going trough the autotest tree, removing all places where we have statements like #!/usr/bin/python2.4 As they're unnecessary for those who have python > 2.4. Still, we want to make sure we're running on something > 2.4 for those scripts, so I hooked the scripts to the common lib infrastructure when needed. I tried to be as careful as possible to make sure all scripts worked after my modifications, I could even spot an import problem on server/standalone_profiler.py and fix it. Also, while I was there, I fixed several inconsistencies on the mirror/mirror script. Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1527 592f7852-d20e-0410-864c-8624ca9c26a4
2008-04-09Provide a unittest wrapper around Django's "manage.py test" so the showard1-0/+19
unittest_suite will include the Django unit tests. git-svn-id: svn://test.kernel.org/autotest/trunk@1422 592f7852-d20e-0410-864c-8624ca9c26a4