Klaus Demo bjoern / 7e0d3d3
Fix a typo in test and remove a debug print Jonas Haag 9 years ago
2 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
22
33 def app(env, start_response):
44 pprint.pprint(env)
5 print(len(env['wsgi.input'].read()))
65 start_response('200 yo', [])
76 return []
87
2828 test = iterator.next()
2929
3030 assert test is not None
31 def chose_test():
31 def choose_test():
3232 return test.app
3333 else:
3434 testlist = list(tests.chainvalues())
35 def chose_test():
35 def choose_test():
3636 return random.choice(testlist).app
3737
3838 def app(environ, start_response):
39 app = chose_test()
39 app = choose_test()
4040 print 'Testing %s...' % app.__name__
4141 return app(environ, start_response)
4242