Commit d503aad1 authored by Daniele Venzano's avatar Daniele Venzano

Make the tests runnable by hand

parent a12e6367
"""Test script for successful basic authentication."""
import json
import os
import time
import sys
import unittest
......@@ -91,4 +92,5 @@ if __name__ == '__main__':
if len(sys.argv) > 1:
API_SERVER = sys.argv.pop()
ZoeRestTestSuccess.uri = 'http://' + API_SERVER + '/api/0.7/'
ZoeRestTestSuccess.auth = (os.getenv('ZOE_USER', ZOE_AUTH[0]), os.getenv('ZOE_PASS', ZOE_AUTH[1]))
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment