fix: use app handler to render error string, when progress fails
This commit is contained in:
		
							parent
							
								
									171e9f7488
								
							
						
					
					
						commit
						c2efc1cd1a
					
				
					 3 changed files with 10 additions and 4 deletions
				
			
		|  | @ -5,6 +5,8 @@ from unittest import TestCase | |||
| from pyramid import testing | ||||
| from beaker.session import Session as BeakerSession | ||||
| 
 | ||||
| from wuttjamaican.testing import ConfigTestCase | ||||
| 
 | ||||
| from wuttaweb import progress as mod | ||||
| 
 | ||||
| 
 | ||||
|  | @ -31,10 +33,11 @@ class TestGetProgressSession(TestCase): | |||
|         self.assertEqual(session.id, 'mockid.progress.foo') | ||||
| 
 | ||||
| 
 | ||||
| class TestSessionProgress(TestCase): | ||||
| class TestSessionProgress(ConfigTestCase): | ||||
| 
 | ||||
|     def setUp(self): | ||||
|         self.request = testing.DummyRequest() | ||||
|         self.setup_config() | ||||
|         self.request = testing.DummyRequest(wutta_config=self.config) | ||||
|         self.request.session.id = 'mockid' | ||||
| 
 | ||||
|     def test_error_url(self): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue