Fix invalid assert statement

This is to fix invalid assert statement "asser_called_once_with",
which should be "assert_called_once_with" instead

Change-Id: I87d3f63ea643522abdd1fb9e8e1ff9f2f7528044
This commit is contained in:
zhufl 2019-10-22 14:26:37 +08:00
parent 4ba2a6a25b
commit 4cc1ce609c
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ class NetAppFileStorageLibraryTestCase(test.TestCase):
self.library._get_vserver_peers.assert_called_once_with(
vserver=fake.VSERVER1
)
self.library._delete_vserver_peer.asser_called_once_with(
self.library._delete_vserver_peer.assert_called_once_with(
fake.VSERVER_PEER[0]['vserver'],
fake.VSERVER_PEER[0]['peer-vserver']
)