Changed functions:
In attendance/models.py - get_not_assigned_duration()
Solution requires new if statement for IN swipe correction. Possibility of corrected IN swipe has to be checked first.
Changed tests:
Added new test in attendance/models.py - test_NAT_value_of_opened_session_is_updated_overtime_if_IN_swipe_is_corrected
This test requires import of sleep() method from time library.
This request solves #2 issue.
Changed functions: In attendance/models.py - get_not_assigned_duration() Solution requires new if statement for IN swipe correction. Possibility of corrected IN swipe has to be checked first.
Changed tests: Added new test in attendance/models.py - test_NAT_value_of_opened_session_is_updated_overtime_if_IN_swipe_is_corrected This test requires import of sleep() method from time library.