def test_pex_get_kv(): # type: () -> None v = Variables(environ={}) assert v._get_kv("HELLO") is None assert v._get_kv("=42") is None assert v._get_kv("TOO=MANY=COOKS") is None assert v._get_kv("THIS=WORKS") == ["THIS", "WORKS"]
def test_pex_get_kv(): v = Variables(environ={}) assert v._get_kv('HELLO') is None assert v._get_kv('=42') is None assert v._get_kv('TOO=MANY=COOKS') is None assert v._get_kv('THIS=WORKS') == ['THIS', 'WORKS']
def test_pex_get_kv(): v = Variables(environ={}) assert v._get_kv('HELLO') is None assert v._get_kv('=42') is None assert v._get_kv('TOO=MANY=COOKS') is None assert v._get_kv('THIS=WORKS') == ['THIS', 'WORKS']
def test_pex_get_kv(): v = Variables(environ={}) assert v._get_kv("HELLO") is None assert v._get_kv("=42") is None assert v._get_kv("TOO=MANY=COOKS") is None assert v._get_kv("THIS=WORKS") == ["THIS", "WORKS"]