@mock.patch('tempfile.tempdir', new='tmp')
def test_jlock_init_and_delete(self):
    'Tests initialization and deleting a ``JLock``.\n\n        Args:\n          self (TestJLock): the ``TestJLock`` instance\n\n        Returns:\n          ``None``\n        '
    serial_no = 3735928559
    lock = jlock.JLock(serial_no)
    lock.release = mock.Mock()
    del lock
Tests initialization and deleting a ``JLock``.

Args:
  self (TestJLock): the ``TestJLock`` instance

Returns:
  ``None``
@mock.patch('tempfile.tempdir', new='tmp')
def test_jlock_init_and_delete(self):
    'Tests initialization and deleting a ``JLock``.\n\n        Args:\n          self (TestJLock): the ``TestJLock`` instance\n\n        Returns:\n          ``None``\n        '
    serial_no = 3735928559
    lock = jlock.JLock(serial_no)
    lock.release = mock.Mock()
    del lock