Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
2ce3ab59
Commit
2ce3ab59
authored
Jan 14, 2016
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3746 from linovia/feature/display_internal_pytest_warnings
Display py.test internal warnings
parents
b76bf3d6
a4ce897d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
runtests.py
+2
-2
tox.ini
+1
-1
No files found.
runtests.py
View file @
2ce3ab59
...
@@ -8,8 +8,8 @@ import sys
...
@@ -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'
]
...
...
tox.ini
View file @
2ce3ab59
...
@@ -8,7 +8,7 @@ envlist =
...
@@ -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
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment