smarter tests
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and deploy the backend to staging / Build and push image (pull_request) Failing after 2m33s
				
			
		
			
				
	
				Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
				
			
		
			
				
	
				Run linting on the backend code / Build (pull_request) Failing after 32s
				
			
		
			
				
	
				Run testing on the backend code / Build (pull_request) Failing after 1m58s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and deploy the backend to staging / Build and push image (pull_request) Failing after 2m33s
				
			Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
				
			Run linting on the backend code / Build (pull_request) Failing after 32s
				
			Run testing on the backend code / Build (pull_request) Failing after 1m58s
				
			This commit is contained in:
		@@ -75,8 +75,6 @@ def test_no_toilets(client, location, status_code):    # pylint: disable=redefin
 | 
				
			|||||||
    "location,status_code",
 | 
					    "location,status_code",
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
        ([45.7576485, 4.8330241], 200), # Lyon, Bellecour.
 | 
					        ([45.7576485, 4.8330241], 200), # Lyon, Bellecour.
 | 
				
			||||||
        ([40.768502, -73.958408], 200), # New York, Upper East Side.
 | 
					 | 
				
			||||||
        ([53.482864, -2.2411116], 200), # Manchester, centre.
 | 
					 | 
				
			||||||
        ([-6.913795,  107.60278], 200), # Bandung, train station
 | 
					        ([-6.913795,  107.60278], 200), # Bandung, train station
 | 
				
			||||||
        ([-22.970140, -43.18181], 200), # Rio de Janeiro, Copacabana
 | 
					        ([-22.970140, -43.18181], 200), # Rio de Janeiro, Copacabana
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
@@ -92,7 +90,8 @@ def test_toilets(client, location, status_code):    # pylint: disable=redefined-
 | 
				
			|||||||
    response = client.post(
 | 
					    response = client.post(
 | 
				
			||||||
        "/toilets/new",
 | 
					        "/toilets/new",
 | 
				
			||||||
        params={
 | 
					        params={
 | 
				
			||||||
            "location": location
 | 
					            "location": location,
 | 
				
			||||||
 | 
					            "radius" : 600
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    toilets_list = [Toilets.model_validate(toilet) for toilet in response.json()]
 | 
					    toilets_list = [Toilets.model_validate(toilet) for toilet in response.json()]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user