File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- python-version : [3.11, 3. 13]
14+ python-version : [3.13]
1515
1616 steps :
1717 - name : Checkout
Original file line number Diff line number Diff line change @@ -78,14 +78,14 @@ def test_get_ticket_if_it_exists_success(mock_post):
7878
7979 service = LinearService .__new__ (LinearService )
8080 service ._config = mock_config
81- service ._linear_api_key = mock_config .linear_api_key
82- service ._team_id_str = mock_config .team_id
83- service ._api_url = mock_config .linear_api_url
84- service ._headers = {
81+ service .linear_api_key = mock_config .linear_api_key
82+ service .team_name = mock_config .team_id
83+ service .api_url = mock_config .linear_api_url
84+ service .headers = {
8585 "Content-Type" : "application/json" ,
8686 "Authorization" : mock_config .linear_api_key ,
8787 }
88- service ._team_id = "team-uuid"
88+ service .team_id = "team-uuid"
8989 tickets = LinearService .get_ticket_if_it_exists (service , "Some Issue" )
9090 assert tickets == [{"identifier" : "ISSUE-1" }]
9191
You can’t perform that action at this time.
0 commit comments