@@ -0,0 +1,703 @@
+import base64%0Aimport json%0Aimport requests%0Afrom io import BytesIO%0A%0AHTTP_HEADER_COOOKIE = 'Cookie'%0AOB_HOST = %22https://localhost:18469%22%0AOB_USERNAME = %22steve%22%0AOB_PASSWORD = %22obclub1234%22%0AOB_API_PREFIX = '/api/v1/'%0ASESSION_COOKIE_NAME = 'TWISTED_SESSION'%0A%0Ar = requests.post(%0A    u'%7B%7D%7B%7Dlogin'.format(OB_HOST, OB_API_PREFIX),%0A    cert=(%0A        '/home/openbazaar/OpenBazaar-Server/server.crt',%0A        '/home/openbazaar/OpenBazaar-Server/server.key'),%0A    data=%7B'username': OB_USERNAME, 'password': OB_PASSWORD%7D)%0A%0Aassert r.status_code == 200%0Aassert 'success' in r.json()%0Aassert r.json()%5B'success'%5D%0Aassert SESSION_COOKIE_NAME in r.cookies%0A%0Asession_cookie = r.cookies%5BSESSION_COOKIE_NAME%5D%0A%0Aprint (session_cookie)%0A

Add test.py