def test_location(fake_shell): req = VomsProxy(vo='some_vo') v = VomsProxyInfo(req) assert v.location == v.default_location() + ':' + 'some_vo'
def test_default_location(fake_shell): v = VomsProxyInfo(VomsProxy()) assert v.location == v.default_location()