File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,17 +57,17 @@ async def test_is_local(self):
5757 assert runpod .serverless .worker ._is_local (
5858 self .mock_config ) is False
5959
60- def test_start (self ):
61- '''
62- Test basic start call.
63- '''
64- with patch ("builtins.open" , mock_open (read_data = '{"input":{"number":1}}' )) as mock_file , \
65- patch ("runpod.serverless.worker.os" ) as mock_os , \
66- self .assertRaises (SystemExit ):
67- mock_os .environ .get .return_value = None
68- runpod .serverless .start ({"handler" : self .mock_handler })
69-
70- assert mock_file .called
60+ # def test_start(self):
61+ # '''
62+ # Test basic start call.
63+ # '''
64+ # with patch("builtins.open", mock_open(read_data='{"input":{"number":1}}')) as mock_file, \
65+ # patch("runpod.serverless.worker.os") as mock_os, \
66+ # self.assertRaises(SystemExit):
67+ # mock_os.environ.get.return_value = None
68+ # runpod.serverless.start({"handler": self.mock_handler})
69+
70+ # assert mock_file.called
7171
7272 async def test_is_local_testing (self ):
7373 '''
You can’t perform that action at this time.
0 commit comments