mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Merge pull request #3746 from linovia/feature/display_internal_pytest_warnings
Display py.test internal warnings
This commit is contained in:
		
						commit
						2ce3ab59a6
					
				| 
						 | 
					@ -8,8 +8,8 @@ import sys
 | 
				
			||||||
import pytest
 | 
					import pytest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PYTEST_ARGS = {
 | 
					PYTEST_ARGS = {
 | 
				
			||||||
    'default': ['tests', '--tb=short', '-s'],
 | 
					    'default': ['tests', '--tb=short', '-s', '-rw'],
 | 
				
			||||||
    'fast': ['tests', '--tb=short', '-q', '-s'],
 | 
					    'fast': ['tests', '--tb=short', '-q', '-s', '-rw'],
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']
 | 
					FLAKE8_ARGS = ['rest_framework', 'tests', '--ignore=E501']
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tox.ini
									
									
									
									
									
								
							| 
						 | 
					@ -8,7 +8,7 @@ envlist =
 | 
				
			||||||
       {py27,py34,py35}-django{19}
 | 
					       {py27,py34,py35}-django{19}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[testenv]
 | 
					[testenv]
 | 
				
			||||||
commands = ./runtests.py --fast {posargs} --coverage
 | 
					commands = ./runtests.py --fast {posargs} --coverage -rw
 | 
				
			||||||
setenv =
 | 
					setenv =
 | 
				
			||||||
       PYTHONDONTWRITEBYTECODE=1
 | 
					       PYTHONDONTWRITEBYTECODE=1
 | 
				
			||||||
deps =
 | 
					deps =
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user