def test_login():
	app = TestApp(application())

	## forge the session cookie ##
	app = TestApp(application())

	response = app.post( '/login', {'nickname': 'foo'} )

	res = str(response)
	assert 'SID=' in res
	assert 'user="foo' in res
	assert 'atime=' in res
dataset/ETHPy150Open aht/suas/suas/test/test_session.py/test_login/original