'Test that dump_collection returns None when cancelled.'

def test_dump_collection_cancel(self):

    self.primary_conn['test']['test'].insert_one({'test': '1'})
    self.opman.running = False
    self.assertIsNone(self.opman.dump_collection())
