better naming and MM
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m22s
				
			
		
			
				
	
				Run linting on the backend code / Build (pull_request) Successful in 32s
				
			
		
			
				
	
				Run testing on the backend code / Build (pull_request) Failing after 2m15s
				
			
		
			
				
	
				Build and release debug APK / Build APK (pull_request) Successful in 7m32s
				
			
		
			
				
	
				Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 17s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build and deploy the backend to staging / Build and push image (pull_request) Successful in 2m22s
				
			Run linting on the backend code / Build (pull_request) Successful in 32s
				
			Run testing on the backend code / Build (pull_request) Failing after 2m15s
				
			Build and release debug APK / Build APK (pull_request) Successful in 7m32s
				
			Build and deploy the backend to staging / Deploy to staging (pull_request) Successful in 17s
				
			This commit is contained in:
		| @@ -53,7 +53,7 @@ def test_bellecour(client, request) :   # pylint: disable=redefined-outer-name | ||||
|         client: | ||||
|         request: | ||||
|     """ | ||||
|     duration_minutes = 30 | ||||
|     duration_minutes = 120 | ||||
|     response = client.post( | ||||
|         "/trip/new", | ||||
|         json={ | ||||
| @@ -72,10 +72,15 @@ def test_bellecour(client, request) :   # pylint: disable=redefined-outer-name | ||||
|     # Add details to report | ||||
|     log_trip_details(request, landmarks, result['total_time'], duration_minutes) | ||||
|  | ||||
|     for elem in landmarks : | ||||
|         print(elem) | ||||
|  | ||||
|     # checks : | ||||
|     assert response.status_code == 200  # check for successful planning | ||||
|     assert duration_minutes*0.8 < int(result['total_time']) < duration_minutes*1.2 | ||||
|     assert 136200148 in osm_ids         # check for Cathédrale St. Jean in trip | ||||
|     assert response.status_code == 2000  # check for successful planning | ||||
|  | ||||
|  | ||||
|  | ||||
| def test_shopping(client, request) :   # pylint: disable=redefined-outer-name | ||||
| @@ -86,7 +91,7 @@ def test_shopping(client, request) :   # pylint: disable=redefined-outer-name | ||||
|         client: | ||||
|         request: | ||||
|     """ | ||||
|     duration_minutes = 600 | ||||
|     duration_minutes = 1000 | ||||
|     response = client.post( | ||||
|         "/trip/new", | ||||
|         json={ | ||||
| @@ -100,7 +105,6 @@ def test_shopping(client, request) :   # pylint: disable=redefined-outer-name | ||||
|         ) | ||||
|     result = response.json() | ||||
|     landmarks = load_trip_landmarks(client, result['first_landmark_uuid']) | ||||
|     # osm_ids = landmarks_to_osmid(landmarks) | ||||
|  | ||||
|     # Add details to report | ||||
|     log_trip_details(request, landmarks, result['total_time'], duration_minutes) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user