Skip to content

Feature sum of hours of reports from a given day lower or euqal to 24#207

Merged
kbeker merged 5 commits intomasterfrom
feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24
May 20, 2019
Merged

Feature sum of hours of reports from a given day lower or euqal to 24#207
kbeker merged 5 commits intomasterfrom
feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24

Conversation

@rwrzesien
Copy link
Contributor

Resolves #47

Copy link
Contributor

@dybi dybi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one suggestion.

self.assertEqual(report.work_hours_str, "8:00")


class TestReportWorkHoursSumForGivenDayForSingleUser(TestCase):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add one test for maximal allowed value (24)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea, added 👍

@rwrzesien rwrzesien force-pushed the feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24 branch 2 times, most recently from 4042243 to 5c1fadb Compare May 20, 2019 23:27
@kbeker kbeker force-pushed the feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24 branch from 5c1fadb to a23b97e Compare May 20, 2019 23:32
@rwrzesien rwrzesien force-pushed the feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24 branch from a23b97e to 1488beb Compare May 20, 2019 23:42
Copy link
Contributor

@kbeker kbeker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good improvement :) Ready to merge

@kbeker kbeker force-pushed the feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24 branch from 1488beb to 4933b5a Compare May 20, 2019 23:55
@kbeker kbeker merged commit 4933b5a into master May 20, 2019
@kbeker kbeker deleted the feature-sum-of-hours-of-reports-from-a-given-day-lower-or-euqal-to-24 branch May 20, 2019 23:56
@kbeker kbeker added this to the Next release milestone May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sum of hours of reports from a given day <= 24

3 participants