@@ -111,8 +111,8 @@ def test_install_gen1_shell_cs_connection_failed(self, os_mock, shell_package_mo
111111 # Assert
112112 self .mock_installer .install .assert_called_once ()
113113 self .assertTrue (
114- str (context .exception ) == u "Connection to CloudShell Server failed. "
115- u "Please make sure it is up and running properly."
114+ str (context .exception ) == "Connection to CloudShell Server failed. "
115+ "Please make sure it is up and running properly."
116116 )
117117
118118 @patch ("shellfoundry.commands.install_command.ShellPackage" )
@@ -139,7 +139,7 @@ def test_install_gen1_shell_cs_login_failed(self, os_mock, shell_package_mock):
139139 self .mock_installer .install .assert_called_once ()
140140 self .assertTrue (
141141 str (context .exception )
142- == u "Login to CloudShell failed. Please verify the credentials in the config" # noqa: E501
142+ == "Login to CloudShell failed. Please verify the credentials in the config" # noqa: E501
143143 )
144144
145145 @patch ("shellfoundry.commands.install_command.ShellPackage" )
@@ -165,8 +165,8 @@ def test_install_gen1_shell_non_auth_http_error(self, os_mock, shell_package_moc
165165 # Assert
166166 self .mock_installer .install .assert_called_once ()
167167 self .assertTrue (
168- str (context .exception ) == u "Failed to install shell. "
169- u "CloudShell responded with: 'HTTP Error 404: Non auth error'"
168+ str (context .exception ) == "Failed to install shell. "
169+ "CloudShell responded with: 'HTTP Error 404: Non auth error'"
170170 )
171171
172172 @patch ("shellfoundry.commands.install_command.ShellPackage" )
@@ -192,6 +192,6 @@ def test_install_gen1_shell_base_exception(self, os_mock, shell_package_mock):
192192 # Assert
193193 self .mock_installer .install .assert_called_once ()
194194 self .assertTrue (
195- str (context .exception ) == u "Failed to install shell. "
196- u "CloudShell responded with: 'Some base exception'"
195+ str (context .exception ) == "Failed to install shell. "
196+ "CloudShell responded with: 'Some base exception'"
197197 )
0 commit comments