Browse Source

fix: remove rounding of avg rating (#28945)

develop
Dany Robert 3 years ago
committed by GitHub
parent
commit
0ca467a28f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      erpnext/hr/doctype/interview_feedback/test_interview_feedback.py

2
erpnext/hr/doctype/interview_feedback/test_interview_feedback.py

@ -59,7 +59,7 @@ class TestInterviewFeedback(unittest.TestCase):
}, 'average_rating')
# 1. average should be reflected in Interview Detail.
self.assertEqual(avg_on_interview_detail, round(feedback_1.average_rating))
self.assertEqual(avg_on_interview_detail, feedback_1.average_rating)
'''For Second Interviewer Feedback'''
interviewer = interview.interview_details[1].interviewer

Loading…
Cancel
Save