Skip to content

Commit

Permalink
I have added squanchy and it passes the test ARU-Bioinf-ISE#7
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeHooleyARU committed Feb 10, 2020
1 parent 7b402fb commit ba84093
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion people.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def setup_people():
"""
people = {}
_add_oliver(people)
# TODO add another person - Squanchy
_add_squanchy(people)
return people


Expand All @@ -22,6 +22,14 @@ def _add_oliver(people):
key = new_p.first_name + '_' + new_p.surname
people[key] = new_p


def _add_squanchy(people):
""" adds squanchy """
new_p = PERSON(first_name='squanchy', surname='smith',
age=21, pet='Rat', hobbies=['squanching','running'])
key = new_p.first_name + '_' + new_p.surname
people[key] = new_p

def main():
""" main function run as script """
people = setup_people()
Expand Down

0 comments on commit ba84093

Please sign in to comment.