Things shouldn't be the same if they're not the same.
avail ourselves of Twisted's testing facilities
a user currently only has one session at a time, so looking up by username should find the existing session even if it was provisioned by looking it up by token
fix test
test both orders (fix the docstring for the first one)
fix the test
factor out session initialization
API keys are basically the same as passwords
like, *exactly* the same
It's a passing test, but the implementation is the same.
Docstrings.
Whitespace.
Docstring.
Debugging nicety.
complete sentence
Nicely failing test.
make the test pass
remove debug prints