-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add birth_date and death_date properties to Worker #465
Conversation
Thanks for the PR @marklap, I know this feature is trivial, but can you provide some tests for the two properties? |
Can do. Standby... |
1 similar comment
Added two tests to test_worker.py. Is this adequate? |
self.assertEquals(type(birth_date).__name__, 'datetime') | ||
|
||
def test_worker_sets_death(self): | ||
"""Ensure worker correctly sets worker birth date.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a typo here. Should be Ensure worker correctly sets worker birth date.
Think this covers everything |
add birth_date and death_date properties to Worker
Thanks :) |
As discussed a LONG time ago in #252
Add birth and death properties to Worker