gperdrizet commited on
Commit
45efd08
·
verified ·
1 Parent(s): f9a80bc

Cleaned up too long lines

Browse files
Files changed (1) hide show
  1. tests/test_gradio.py +10 -2
tests/test_gradio.py CHANGED
@@ -72,7 +72,10 @@ class TestProcessInputs(unittest.TestCase):
72
  self.assertIn("✅ Resume generated successfully", result)
73
 
74
  # Verify write_resume was called with user instructions
75
- mock_write_resume.assert_called_with(mock_linkedin_result, "Please emphasize technical skills")
 
 
 
76
 
77
  @patch('functions.gradio.extract_text_from_linkedin_pdf')
78
  @patch('functions.gradio.write_resume')
@@ -197,7 +200,12 @@ class TestProcessInputs(unittest.TestCase):
197
  mock_github.return_value = {"status": "success", "metadata": {"username": "test"}}
198
  mock_summarize.return_value = "Job summary\n"
199
 
200
- gradio.process_inputs(mock_pdf, "https://github.com/test", "job text", "custom instructions")
 
 
 
 
 
201
 
202
  # Verify logging calls were made
203
  mock_logger.info.assert_called()
 
72
  self.assertIn("✅ Resume generated successfully", result)
73
 
74
  # Verify write_resume was called with user instructions
75
+ mock_write_resume.assert_called_with(
76
+ mock_linkedin_result,
77
+ "Please emphasize technical skills"
78
+ )
79
 
80
  @patch('functions.gradio.extract_text_from_linkedin_pdf')
81
  @patch('functions.gradio.write_resume')
 
200
  mock_github.return_value = {"status": "success", "metadata": {"username": "test"}}
201
  mock_summarize.return_value = "Job summary\n"
202
 
203
+ gradio.process_inputs(
204
+ mock_pdf,
205
+ "https://github.com/test",
206
+ "job text",
207
+ "custom instructions"
208
+ )
209
 
210
  # Verify logging calls were made
211
  mock_logger.info.assert_called()