Skip to content

Commit

Permalink
fix test and remove mortgageinsurance from and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
higs4281 committed Feb 2, 2017
1 parent df42ec4 commit 03c9dd9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[run]
source =
countylimits
mortgageinsurance
ratechecker

omit =
Expand Down
2 changes: 1 addition & 1 deletion countylimits/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class DataCollectionTest(unittest.TestCase):
def test_dump_to_csv(self):
m = mock_open()
with patch("__builtin__.open", m, create=True):
dump_to_csv('fakepath', ['a', 'b'], [{'1': '1', '2': '2'}])
dump_to_csv('fakepath', ['a', 'b'], [{'a': '1', 'b': '2'}])
self.assertTrue(m.call_count == 1)
m.assert_called_with('fakepath', 'w')

Expand Down
5 changes: 4 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ python manage.py loaddata countylimit_data.json
```


#### mortgageinsurance
#### mortgageinsurance (deactivated)

This feature has been deprecated and is not currently in use.

This app exposes a single API endpoint, `/oah-api/mortgage-insurance`, with the following parameters:

| Param name | Description | Required | Default value | Acceptable values<br>(values = description) |
Expand Down

0 comments on commit 03c9dd9

Please sign in to comment.