def METHOD_NAME(self):
    """ Testing if opening a file on a non-existing host causes an exception.
    """
    try:
        tc = config()
        invalid_url = deepcopy(rs.Url(tc.filesystem_url))
        invalid_url.host = "does/not/exist"
        _ = rs.filesystem.File(invalid_url)
        assert False, "Expected BadParameter exception but got none."
    except rs.DoesNotExist:
        assert True
    except rs.SagaException as ex:
        assert False, "Expected BadParameter exception, but got %s" % ex