~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to test/test_framework/tests.py

  • Committer: dilshan_a
  • Date: 2008-01-25 00:20:21 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:295
Added a filesum problem.
Updated paths in test.py and test.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
import sys
3
 
sys.path.append('../../www/apps/tutorial/test/')
 
3
sys.path.append('../../www/apps/tutorialservice/test/')
4
4
 
5
5
from parse_tute import *
6
6
 
22
22
                    else:
23
23
                        print "  Failed: %s -- %s" %(part['description'],part['error_message'])
24
24
    print
 
25
    
 
26
problem_suite = parse_tutorial_file('filesum_text.xml')
 
27
print_results(problem_suite.run_tests("filesum.py"))
25
28
 
26
29
problem_suite = parse_tutorial_file('hello_text.xml')
27
30
print_results(problem_suite.run_tests("hello.py"))