Skip to content

Commit

Permalink
Fix metrics test
Browse files Browse the repository at this point in the history
  • Loading branch information
meilinger committed Apr 6, 2017
1 parent 15df91c commit 6cf89f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firecares/firestation/tests/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ def test_update_nfirs(self, mock_connections):
headquarters_address=address, featured=0, archived=0)

# ensure no risk model data before run
self.assertFalse(lafd.firedepartmentriskmodels_set.all())
for rm in lafd.firedepartmentriskmodels_set.all():
self.assertIsNone(rm.dist_model_score)

query_result = [
(u'High', 30L, 44L, 16L, 13L, 9L),
Expand Down

0 comments on commit 6cf89f0

Please sign in to comment.