django-downloadview/tests
René Leonhardt 5e4ae2fdc9 Changed assertCalledOnceWith() to assert_called_once_with()
When I change assertCalledOnceWith() to assert_called_once_with(), make test succeeds but shows another failure:
```
AssertionError: Expected call: mock(sentinel.size, sentinel.modified_time)
Actual call: mock(sentinel.since, sentinel.modified_time, sentinel.size)
```
After changing the call accordingly, all 59 tests succeed.
2015-07-14 14:53:14 +02:00
..
__init__.py Refs #98 - Added __init__ script in tests/ folder. 2015-06-12 16:52:33 +02:00
api.py Refs #98 - Moved tests outside django-downloadview package, i.e. in tests/ folder at project root. 2015-06-12 15:42:50 +02:00
io.py Refs #97 - Splitted StringIteratorIO into TextIteratorIO and BytesIteratorIO. StringIteratorIO remains for backward compatibility. 2015-06-12 16:47:46 +02:00
packaging.py Test of README build to HTML is now done with 'rst2html' command via tox. 2014-02-25 00:43:09 +01:00
response.py Psycho-rebased branch 87-double-quoted-filename on top of master 2015-06-13 00:57:44 +02:00
sendfile.py Refs #98 - Moved tests outside django-downloadview package, i.e. in tests/ folder at project root. 2015-06-12 15:42:50 +02:00
views.py Changed assertCalledOnceWith() to assert_called_once_with() 2015-07-14 14:53:14 +02:00