File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -600,7 +600,7 @@ def setup_list_columns():
600600 logging .info ("... Creating a new user account to validate list columns" )
601601 admin_instance = SNowInstance (check_installed = False )
602602 username , password , usysid = create_user (instance = admin_instance )
603- user_instance = SNowInstance (snow_credentials = (username , password ))
603+ user_instance = SNowInstance (check_installed = False , snow_credentials = (username , password ))
604604
605605 for task , task_info in list_mappings .items ():
606606 expected_columns_path = task_info ["expected_columns_path" ]
@@ -706,7 +706,7 @@ def setup_form_fields():
706706 logging .info ("... Creating a new user account to validate form fields" )
707707 admin_instance = SNowInstance (check_installed = False )
708708 username , password , usysid = create_user (instance = admin_instance )
709- user_instance = SNowInstance (snow_credentials = (username , password ))
709+ user_instance = SNowInstance (check_installed = False , snow_credentials = (username , password ))
710710
711711 for task , task_info in task_mapping .items ():
712712 expected_fields_path = task_info ["expected_fields_path" ]
Original file line number Diff line number Diff line change @@ -144,11 +144,10 @@ def check_is_installed(self):
144144 property_name = "workarena.installation.date"
145145 try :
146146 self ._get_sys_property (property_name )
147- except Exception as e :
147+ except Exception :
148148 raise RuntimeError (
149- f"ServiceNow instance is not installed."
149+ f"ServiceNow instance is most likey not installed. "
150150 "Please install the WorkArena plugin by running `workarena-install`.\n "
151- "Error: {e}"
152151 )
153152
154153 def check_status (self ):
You can’t perform that action at this time.
0 commit comments