File tree Expand file tree Collapse file tree 4 files changed +7
-12
lines changed
Expand file tree Collapse file tree 4 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ before_script:
1616env :
1717- process_tracking_data_store_host=localhost process_tracking_data_store_port=5432
1818 process_tracking_data_store_name=process_tracking process_tracking_data_store_type=postgresql
19- process_tracking_data_store_password=Testing1! process_tracking_data_store_username=pt_admin log_level=INFO
19+ process_tracking_data_store_password=Testing1! process_tracking_data_store_username=pt_admin log_level=TRACE
2020deploy :
2121 - provider : releases
2222 api_key :
Original file line number Diff line number Diff line change 1+ drop database process_tracking
12create database process_tracking ;
23create user pt_admin with password ' Testing1!' ;
34grant all privileges on database process_tracking to pt_admin;
Original file line number Diff line number Diff line change @@ -4,17 +4,6 @@ create schema process_tracking;
44
55alter schema process_tracking owner to pt_admin;
66
7- create schema process_tracking ;
8-
9- alter schema process_tracking owner to pt_admin;
10-
11- create database process_tracking
12- with owner postgres;
13-
14- create schema process_tracking ;
15-
16- alter schema process_tracking owner to pt_admin;
17-
187create table error_type_lkup
198(
209 error_type_id serial not null
Original file line number Diff line number Diff line change @@ -61,8 +61,13 @@ def test_create_error_type(self):
6161 """
6262 print ('starting the bloody test' )
6363 result = self .runner .invoke (main , 'create -t "error type" -n "New Error Type"' )
64+ print (str (result .output ))
6465 print ('got the result' )
6566 instance = self .session .query (ErrorType ).filter (ErrorType .error_type_name == 'New Error Type' ).first ()
67+ try :
68+ print (str (instance .error_type_name ))
69+ except Exception as e :
70+ print (e )
6671 print ('got the instance' )
6772 given_name = instance .error_type_name
6873 print ('invoking delete' )
You can’t perform that action at this time.
0 commit comments