def testClientServerUploadCustomOpenForbids(self):
    with self.assertRaisesRegexp(tftpy.TftpException, 'Access violation'):
        self.customUploadHelper((lambda p: None))
def testClientServerUploadCustomOpenForbids(self):
    with self.assertRaisesRegexp(tftpy.TftpException, 'Access violation'):
        self.customUploadHelper((lambda p: None))