def test_missing_app_from_config(self, mock): creds = GimmeAWSCreds() selection = creds._get_selected_app('test3', self.AWS_INFO) self.assertEqual(selection, self.AWS_INFO[0])
def test_get_selected_app_from_config_1(self): creds = GimmeAWSCreds() selection = creds._get_selected_app('test2', self.AWS_INFO) self.assertEqual(selection, self.AWS_INFO[1])