Skip to content

Commit

Permalink
Merge upstream v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmiller committed Oct 30, 2018
2 parents fbbaba2 + 997afa0 commit fe159b6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions opal/tests/test_patient_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,19 @@ def test_get_template_path(self):
models.Demographics
)
value = c.get_template_path(MagicMock('Mock Patient List'))
self.assertEqual('records/demographics.html', value)
self.assertEqual(
os.path.join('records', 'demographics.html'),
value
)

def test_get_detail_template_path(self):
c = patient_lists.ModelColumn(
models.Demographics
)
value = c.get_detail_template_path(MagicMock('Mock Patient List'))
self.assertEqual('records/demographics_detail.html', value)
self.assertEqual(
os.path.join('records', 'demographics_detail.html'),
value)



Expand Down

0 comments on commit fe159b6

Please sign in to comment.