def METHOD_NAME(self):
    """
    Check that lock is released after provider.clear_lock()
    """
    provider = self.main_class.remotes[0]
    provider.clear_lock()
    # check that lock has been released
    self.assertTrue(provider._master_lock.acquire(timeout=5))
    provider._master_lock.release()