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

278 by dilshan_a
Added README files to explain the test framework and the examples.
1
from TestFramework import *
270 by dilshan_a
Initial check in for test framework, and example problems
2
3
filespace = TestFilespace({"initial_file.txt":"Initial file contents\n"})
4
5
global_space = {}
278 by dilshan_a
Added README files to explain the test framework and the examples.
6
global_space['file'] = lambda filename, mode='r', bufsize=-1: filespace.openfile(filename, mode)
270 by dilshan_a
Initial check in for test framework, and example problems
7
global_space['open'] = global_space['file']
8
global_space['raw_input'] = lambda x=None: raw_input()
9
10
execfile("file_test.py", global_space)
11
12