import xmlrpclib
s = xmlrpclib.Server("http://localhost:8080/", allow_none=True)
print s.get(None, None)
try:
    s.set(None, None, 17)
except Exception, e:
    print "Failed to set as anonymous:", e
else:
    print "We set as anonymous, it's a bug"
print s.get(None, None)
s.set("user", "password", 17)
print s.get("user", "password")
print s.get(None, None)
