Skip to content

Commit

Permalink
Merge pull request #156 from andylolz/missing-humanitarian-sector-code
Browse files Browse the repository at this point in the history
Add missing humanitarian 5-digit sector code
  • Loading branch information
Ocre42 authored Apr 17, 2019
2 parents 9df9019 + e07167a commit 6022c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stats/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ def comprehensiveness_denominators(self):

@returns_numberdict
def humanitarian(self):
humanitarian_sectors_dac_5_digit = ['72010', '72040', '72050', '73010', '74010']
humanitarian_sectors_dac_5_digit = ['72010', '72040', '72050', '73010', '74010', '74020']
humanitarian_sectors_dac_3_digit = ['720', '730', '740']

# logic around use of the @humanitarian attribute
Expand Down
2 changes: 1 addition & 1 deletion stats/tests/test_humanitarian.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _minor_version(self):
def _version(self):
return self._major_version() + '.' + self._minor_version()

HUMANITARIAN_SECTOR_CODES_5_DIGITS = [72010, 72040, 72050, 73010, 74010]
HUMANITARIAN_SECTOR_CODES_5_DIGITS = [72010, 72040, 72050, 73010, 74010, 74020]
HUMANITARIAN_SECTOR_CODES_3_DIGITS = [720, 730, 740]

@pytest.mark.parametrize('version', ['2.02', '2.03'])
Expand Down

0 comments on commit 6022c2d

Please sign in to comment.