summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-03-12 09:53:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-12 09:53:40 +0000
commitd8052ff06a3d4c1a160805113ceb489ec9ebeb85 (patch)
tree423ab587ccfc78cbd475593b5e818c2bd3c0abd3 /etc
parenteced405d21fae3180b7f545096985a3a263cb410 (diff)
Update git submodules
* Update docs/submodules/yardstick from branch 'master' - Merge "assertTrue(mock.called) -> mock.assert_called" - assertTrue(mock.called) -> mock.assert_called When checking whether a mocked method has been called, mock.assert_called or mock.assert_called_once should be used, and not unittest.assertTrue(mock.called) This change does this update. It can be verified with: grep -irn "self.assertTrue(.*called)" --exclude-dir=.tox And the replacement was done with: sed -i 's/self.assertTrue(\(.*\).called)/\1.assert_called_once()/g' <list_of_files> Change-Id: I4f26e0c736bf33e0b2413c8e8c33dbdb91f090e2 JIRA: YARDSTICK-865 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions