This commit is contained in:
		@@ -8,7 +8,7 @@ def client():
 | 
			
		||||
    current_app.config['TESTING'] = True
 | 
			
		||||
 | 
			
		||||
    with current_app.test_client() as client:
 | 
			
		||||
        yield
 | 
			
		||||
        yield client
 | 
			
		||||
 | 
			
		||||
def test_response_length(client):
 | 
			
		||||
    r = client.post('/log')
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ def client():
 | 
			
		||||
    current_app.config['TESTING'] = True
 | 
			
		||||
 | 
			
		||||
    with current_app.test_client() as client:
 | 
			
		||||
        yield
 | 
			
		||||
        yield client
 | 
			
		||||
 | 
			
		||||
def test_log_code_get(client):
 | 
			
		||||
    r = client.get('/log')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user