mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 09:57:37 +03:00 
			
		
		
		
	Update test coverage results in movie lister example and tutorial
This commit is contained in:
		
							parent
							
								
									e0a08a0f2d
								
							
						
					
					
						commit
						3ea9b7b761
					
				| 
						 | 
				
			
			@ -266,7 +266,6 @@ Edit ``__main__.py``:
 | 
			
		|||
       ...
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
   if __name__ == '__main__':
 | 
			
		||||
       container = Container()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1024,18 +1023,18 @@ You should see:
 | 
			
		|||
 | 
			
		||||
   movies/tests.py ..                                              [100%]
 | 
			
		||||
 | 
			
		||||
   ---------- coverage: platform darwin, python 3.8.3-final-0 -----------
 | 
			
		||||
   ---------- coverage: platform darwin, python 3.8.5-final-0 -----------
 | 
			
		||||
   Name                   Stmts   Miss  Cover
 | 
			
		||||
   ------------------------------------------
 | 
			
		||||
   movies/__init__.py         0      0   100%
 | 
			
		||||
   movies/__main__.py        13     13     0%
 | 
			
		||||
   movies/__main__.py        17     17     0%
 | 
			
		||||
   movies/containers.py       9      0   100%
 | 
			
		||||
   movies/entities.py         7      1    86%
 | 
			
		||||
   movies/finders.py         26     13    50%
 | 
			
		||||
   movies/listers.py          8      0   100%
 | 
			
		||||
   movies/tests.py           24      0   100%
 | 
			
		||||
   ------------------------------------------
 | 
			
		||||
   TOTAL                     87     27    69%
 | 
			
		||||
   TOTAL                     91     31    66%
 | 
			
		||||
 | 
			
		||||
.. note::
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,15 +64,15 @@ The output should be something like:
 | 
			
		|||
 | 
			
		||||
   movies/tests.py ..                                              [100%]
 | 
			
		||||
 | 
			
		||||
   ---------- coverage: platform darwin, python 3.8.3-final-0 -----------
 | 
			
		||||
   ---------- coverage: platform darwin, python 3.8.5-final-0 -----------
 | 
			
		||||
   Name                   Stmts   Miss  Cover
 | 
			
		||||
   ------------------------------------------
 | 
			
		||||
   movies/__init__.py         0      0   100%
 | 
			
		||||
   movies/__main__.py        13     13     0%
 | 
			
		||||
   movies/__main__.py        17     17     0%
 | 
			
		||||
   movies/containers.py       9      0   100%
 | 
			
		||||
   movies/entities.py         7      1    86%
 | 
			
		||||
   movies/finders.py         26     13    50%
 | 
			
		||||
   movies/listers.py          8      0   100%
 | 
			
		||||
   movies/tests.py           24      0   100%
 | 
			
		||||
   ------------------------------------------
 | 
			
		||||
   TOTAL                     87     27    69%
 | 
			
		||||
   TOTAL                     91     31    66%
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user