Skip to content

Commit

Permalink
tests now passing, and news
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillinge committed Jul 14, 2024
1 parent ffe8a2d commit 866a49e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
23 changes: 23 additions & 0 deletions news/honors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* change name and then fix tests for function that formats awards and honors

**Security:**

* <news item>
13 changes: 10 additions & 3 deletions tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,16 @@
["m1", PEOPLE_COLL, CONTACTS_COLL],
{
"_id": "m1",
"name": "member1",
"education": [
'funding': [{'name': "Omega Laser User's Group Travel Award",
'value': 1100,
'year': 2013}],
'name': 'member1',
'service': [{'month': 3,
'name': 'International Steering Committee',
'notes': ['something'],
'role': 'chair',
'type': 'profession',
'year': 2020}], "education": [
{
"group": "bg",
"institution": "columbiau",
Expand All @@ -146,7 +154,6 @@
],
)
def test_get_person_contact(input, expected):
print(input)
actual = get_person_contact(input[0], input[1], input[2])
assert actual == expected

Expand Down

0 comments on commit 866a49e

Please sign in to comment.