def isotime(at=None, subsecond=False):
    if not at:
        at = utcnow()
    st = at.strftime(_ISO8601_TIME_FORMAT
                     if not subsecond
                     else _ISO8601_TIME_FORMAT_SUBSECOND)
    tz = at.tzinfo.tzname(None) if at.tzinfo else 'UTC'
    st += ('Z' if tz == 'UTC' else tz)
    return st
Tests that a SaltCloudSystemExit is raised when no name is provided.
dataset/ETHPy150Open openstack/python-monascaclient/monascaclient/openstack/common/timeutils.py/isotime--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/cloud/clouds/opennebula_test.py/OpenNebulaTestCase.test_get_image_id_not_found