(app)
| 144 | assert 0 |
| 145 | |
| 146 | def test_submit_app_context(app): |
| 147 | test_value = random.randint(1, 101) |
| 148 | app.config['TEST_VALUE'] = test_value |
| 149 | executor = Executor(app) |
| 150 | with app.test_request_context(''): |
| 151 | future = executor.submit(app_context_test_value) |
| 152 | assert future.result() == test_value |
| 153 | |
| 154 | def test_submit_g_context_process(app): |
| 155 | test_value = random.randint(1, 101) |