def setUp(self): self.app = master.setup(db_name=self.database).test_client()
#!env python import sys from orchester.master import setup if __name__ == '__main__': host = 'localhost' port = 5000 app = setup() if len(sys.argv) >= 2: host = sys.argv[1] if len(sys.argv) >= 3: port = int(sys.argv[2]) app.run(host=host, port=port, debug=True)