def setUp(self):
     config_path = "/etc/ariane_relmgr/confsrv.json"
     RELMGR_CONFIG = Config()
     RELMGR_CONFIG.parse(config_path)
     # Init variables:
     ariane = modelAndServices.DeliveryTree({"login": RELMGR_CONFIG.neo4j_login,
                                                 "password": RELMGR_CONFIG.neo4j_password,
                                                 "host": RELMGR_CONFIG.neo4j_host,
                                                 "port": RELMGR_CONFIG.neo4j_port,
                                                 "type": "neo4j"})
     modelAndServices.DeliveryTree.graph_dao.delete_all()
     # create_db_file('/Users/stanrenia/py_neo4j_db/tests/inputs/create_0.6.4-SNAPSHOT.txt')
     create_db_file(os.path.join(relmgr_path, "tests/inputs/create_0.6.3.txt"))
                        help="define your Ariane ProcOS configuration file path")
    parser.add_argument("-p", "--password", default=False,
                        help="define your Ariane ProcOS configuration file path")
    parser.add_argument("-u", "--username", default=False,
                        help="define your Ariane ProcOS configuration file path")

    args = parser.parse_args()
    if args.configuration:
        if os.path.isfile(args.configuration):
            config_path = args.configuration

    RELMGR_CONFIG = None

    try:
        RELMGR_CONFIG = Config()
        RELMGR_CONFIG.parse(config_path)
    except Exception as e:
        print('Release Manager configuration issue: ' + e.__str__())
        exit(1)

    setup_logging(RELMGR_CONFIG.log_file)
    LOGGER = logging.getLogger(__name__)
    try:
        ariane = modelAndServices.DeliveryTree({"login": RELMGR_CONFIG.neo4j_login,
                                                "password": RELMGR_CONFIG.neo4j_password,
                                                "host": RELMGR_CONFIG.neo4j_host,
                                                "port": RELMGR_CONFIG.neo4j_port,
                                                "type": "neo4j"})
        from ariane_relsrv.server import restful
        myglobals = {"conf": RELMGR_CONFIG, "delivery_tree": ariane, "project_path": project_path,
                     "relmgr_path": relmgr_path}