44from mock import patch
55
66from pygithub3 .tests .utils .core import TestCase
7- from pygithub3 .services .events import Events
7+ from pygithub3 .services .events import Event
88from pygithub3 .tests .utils .base import (mock_response_result , dummy_json )
99from pygithub3 .tests .utils .services import _
1010
1414class TestEventsService (TestCase ):
1515
1616 def setUp (self ):
17- self .events = Events ()
17+ self .events = Event ()
1818
1919 def test_LIST (self , request_method ):
2020 request_method .return_value = mock_response_result ()
@@ -27,7 +27,7 @@ def test_LIST(self, request_method):
2727class TestRepoEventsService (TestCase ):
2828
2929 def setUp (self ):
30- self .events = Events ()
30+ self .events = Event ()
3131
3232 def test_LIST (self , request_method ):
3333 request_method .return_value = mock_response_result ()
@@ -41,7 +41,7 @@ def test_LIST(self, request_method):
4141class TestNetworkEventsService (TestCase ):
4242
4343 def setUp (self ):
44- self .events = Events ()
44+ self .events = Event ()
4545
4646 def test_LIST (self , request_method ):
4747 request_method .return_value = mock_response_result ()
@@ -55,7 +55,7 @@ def test_LIST(self, request_method):
5555class TestOrgsEventsService (TestCase ):
5656
5757 def setUp (self ):
58- self .events = Events ()
58+ self .events = Event ()
5959
6060 def test_LIST (self , request_method ):
6161 request_method .return_value = mock_response_result ()
@@ -69,7 +69,7 @@ def test_LIST(self, request_method):
6969class TestUserEventsService (TestCase ):
7070
7171 def setUp (self ):
72- self .events = Events ()
72+ self .events = Event ()
7373
7474 def test_LIST_received (self , request_method ):
7575 request_method .return_value = mock_response_result ()
0 commit comments