Add minor testing stuff
This commit is contained in:
		
							parent
							
								
									b2b71d6742
								
							
						
					
					
						commit
						8c5ad5a374
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -68,4 +68,6 @@ for backup_file in core.log controller.log valgrind.log emgauwa-core.sqlite; do
 | 
				
			||||||
    ln -sf $timestamp.$backup_file latest.$backup_file
 | 
					    ln -sf $timestamp.$backup_file latest.$backup_file
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat latest.valgrind.log
 | 
				
			||||||
 | 
					
 | 
				
			||||||
exit $test_result
 | 
					exit $test_result
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -157,3 +157,12 @@ stages:
 | 
				
			||||||
    url: "http://localhost:5000/api/v1/tags/unused_tag_1"
 | 
					    url: "http://localhost:5000/api/v1/tags/unused_tag_1"
 | 
				
			||||||
  response:
 | 
					  response:
 | 
				
			||||||
    status_code: 404
 | 
					    status_code: 404
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: "[tags] get tags again"
 | 
				
			||||||
 | 
					  request:
 | 
				
			||||||
 | 
					    method: GET
 | 
				
			||||||
 | 
					    url: "http://localhost:5000/api/v1/tags/"
 | 
				
			||||||
 | 
					  response:
 | 
				
			||||||
 | 
					    status_code: 200
 | 
				
			||||||
 | 
					    verify_response_with:
 | 
				
			||||||
 | 
					      function: validate_tag:multiple
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue