#NEWLINE# @ patch ( 'nefertari.elasticsearch.ES._bulk' ) #NEWLINE# @ patch ( 'nefertari.elasticsearch.ES.api.mget' ) #NEWLINE# def test_index_missing_documents_no_docs_passed( self , mock_mget , mock_bulk ) : #NEWLINE# #INDENT# obj = es . ES ( 'Foo' , 'foondex' ) #NEWLINE# assert ( obj . index_missing_documents ( [ ] ) is None ) #NEWLINE# assert ( not mock_mget . called ) #NEWLINE# assert ( not mock_bulk . called )