Skip to content

Commit

Permalink
fix environment.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-isaia committed Jul 18, 2022
1 parent 5c57911 commit d7ff867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/integ-test/bdd-test/features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

def before_all(context):
print('Global settings...')
lib_dir = "/agent/_work/1/nodo/extracted/oracle/instantclient_21_6" #Da modificare
#lib_dir = "/agent/_work/1/nodo/extracted/oracle/instantclient_21_6" #Da modificare
# Da scommentare
#lib_dir = os.path.abspath(os.path.join(__file__, os.pardir, os.pardir, os.pardir, os.pardir, os.pardir, '../../../oracle/instantclient_21_6'))
lib_dir = os.path.abspath(os.path.join(__file__, os.pardir, os.pardir, os.pardir, os.pardir, os.pardir, '/oracle/instantclient_21_6'))
cx_Oracle.init_oracle_client(lib_dir = lib_dir)
more_userdata=json.load(open("/agent/_work/1/nodo/extracted/src/integ-test/bdd-test/resources/pipeline_config.json"))
more_userdata=json.load(open(__file__, os.pardir, os.pardir, os.pardir, os.pardir, os.pardir, '/resources/pipeline_config.json'))
#more_userdata = json.load(open(os.path.join(context.config.base_dir + "/../resources/config.json")))#Da scommentare
context.config.update_userdata(more_userdata)
#services = context.config.userdata.get("services")
Expand Down

0 comments on commit d7ff867

Please sign in to comment.