mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Add coverage to runtests. Closes #2936.
This commit is contained in:
		
							parent
							
								
									a8acdbc388
								
							
						
					
					
						commit
						db40b7eb91
					
				| 
						 | 
					@ -1,3 +1,4 @@
 | 
				
			||||||
# PyTest for running the tests.
 | 
					# PyTest for running the tests.
 | 
				
			||||||
pytest==2.6.4
 | 
					pytest==2.6.4
 | 
				
			||||||
pytest-django==2.8.0
 | 
					pytest-django==2.8.0
 | 
				
			||||||
 | 
					pytest-cov==1.8.1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@ import sys
 | 
				
			||||||
import pytest
 | 
					import pytest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PYTEST_ARGS = {
 | 
					PYTEST_ARGS = {
 | 
				
			||||||
    'default': ['tests', '--tb=short', '-s'],
 | 
					    'default': ['tests', '--tb=short', '-s', '--cov', 'rest_framework'],
 | 
				
			||||||
    'fast': ['tests', '--tb=short', '-q', '-s'],
 | 
					    'fast': ['tests', '--tb=short', '-q', '-s'],
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user