def check_blocks(self, object, num_expected):
        nblocks = talloc.total_blocks(object)
        if object is None:
            nblocks -= self.initial_blocks
        leaked_blocks = (nblocks - num_expected)
        if leaked_blocks != 0:
            print "Leaked %d blocks" % leaked_blocks
Specify an authentication method for the server.
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/tests/dcerpc/testrpc.py/RpcTests.check_blocks--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/cred/strcred.py/AuthOptionMixin.opt_auth