Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Apr 18, 2017
1 parent 0d04bc2 commit 26d4eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opal/tests/test_search_extract.py
Expand Up @@ -552,6 +552,7 @@ def test_get_rows(self, field_names_to_extract):
PatientColour.objects.create(
name="blue", patient=patient
)

renderer = extract.PatientSubrecordCsvRenderer(
PatientColour,
models.Episode.objects.all(),
Expand All @@ -571,7 +572,6 @@ def test_get_rows_same_patient(self, field_names_to_extract):
field_names_to_extract.return_value = [
"patient_id", "name", "consistency_token", "id"
]
patient, _ = self.new_patient_and_episode_please()
PatientColour.objects.create(
name="blue", patient=patient
)
Expand Down

0 comments on commit 26d4eab

Please sign in to comment.