Remove usage of assert_called_once on Mock objects

mock 1.1.0 was released on 10 July 2015 which prevents users from using
non-existent assertion methods. This broke the test in the diff.

Co-Authored-By: Ian Cordasco <graffatcolmingov@gmail.com>
Closes-Bug: #1473454
Change-Id: I162b76bbd7d96c96787a8dd8f9642ca1c80c596a
This commit is contained in:
rico.lin
2015-07-11 03:14:05 +08:00
committed by Ian Cordasco
parent 0f9aa99114
commit e976032a95
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ hacking<0.11,>=0.10.0
coverage>=3.6
discover
mock>=1.0
mock>=1.0;python_version!='2.6'
mock==1.0.1;python_version=='2.6'
oslosphinx>=2.5.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
testrepository>=0.0.18