mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Summary: xml reports library changes
Detail: unittest-xml-reporting 1.4 - the verbose option is available via settings.py. Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1352448075 +0530
This commit is contained in:
		
							parent
							
								
									ddca805912
								
							
						
					
					
						commit
						c290bf6cd0
					
				| @ -95,4 +95,4 @@ class TestCaseExecuteEngine(object): | |||||||
|             if self.format == "text": |             if self.format == "text": | ||||||
|                 unittest.TextTestRunner(stream=self.testResultLogFile, verbosity=2).run(self.suite) |                 unittest.TextTestRunner(stream=self.testResultLogFile, verbosity=2).run(self.suite) | ||||||
|             elif self.format == "xml": |             elif self.format == "xml": | ||||||
|                 xmlrunner.XMLTestRunner(output=self.xmlDir, verbose=True).run(self.suite) |                 xmlrunner.XMLTestRunner(output=self.xmlDir).run(self.suite) | ||||||
|  | |||||||
							
								
								
									
										28
									
								
								tools/marvin/marvin/settings.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tools/marvin/marvin/settings.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | |||||||
|  | # Licensed to the Apache Software Foundation (ASF) under one | ||||||
|  | # or more contributor license agreements.  See the NOTICE file | ||||||
|  | # distributed with this work for additional information | ||||||
|  | # regarding copyright ownership.  The ASF licenses this file | ||||||
|  | # to you under the Apache License, Version 2.0 (the | ||||||
|  | # "License"); you may not use this file except in compliance | ||||||
|  | # with the License.  You may obtain a copy of the License at | ||||||
|  | #  | ||||||
|  | #   http://www.apache.org/licenses/LICENSE-2.0 | ||||||
|  | #  | ||||||
|  | # Unless required by applicable law or agreed to in writing, | ||||||
|  | # software distributed under the License is distributed on an | ||||||
|  | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||||||
|  | # KIND, either express or implied.  See the License for the | ||||||
|  | # specific language governing permissions and limitations | ||||||
|  | # under the License. | ||||||
|  | 
 | ||||||
|  | # Settings for the XML test runner | ||||||
|  | 
 | ||||||
|  | # Use this setting to choose between a verbose and a non-verbose output. | ||||||
|  | TEST_OUTPUT_VERBOSE = 2. | ||||||
|  | 
 | ||||||
|  | # If your test methods contains docstrings, you can display such docstrings | ||||||
|  | # instead of display the test name (ex: module.TestCase.test_method).  In order to | ||||||
|  | # use this feature, you have to enable verbose output by setting | ||||||
|  | # TEST_OUTPUT_VERBOSE = 2. | ||||||
|  | 
 | ||||||
|  | TEST_OUTPUT_DESCRIPTIONS=True  | ||||||
| @ -42,6 +42,6 @@ setup(name="Marvin", | |||||||
|           "mysql-connector-python", |           "mysql-connector-python", | ||||||
|           "paramiko", |           "paramiko", | ||||||
|           "nose", |           "nose", | ||||||
|           "unittest-xml-reporting" |           "unittest-xml-reporting>1.2" | ||||||
|       ],          |       ],          | ||||||
|      ) |      ) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user