Skip to content

Commit

Permalink
Change tests for new logic on what counts as a current activity
Browse files Browse the repository at this point in the history
  • Loading branch information
dalepotter committed Jul 27, 2015
1 parent 7c18cb4 commit 1e83379
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stats/tests/test_comprehensiveness.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def test_comprehensiveness_with_validation(key, major_version):
<reporting-org ref="BBB"/>
<iati-identifier>AAA-1</iati-identifier>
<participating-org role="Implementing"/>
<activity-status code="2"/>
<activity-status code="2" />
<activity-date iso-date="9990-05-01" />
<!-- Must have at least one activity-date of type start-planned or start-actual with valid date -->
<activity-date type="end-planned" iso-date="2014-01-01" />
Expand Down Expand Up @@ -544,7 +544,7 @@ def test_comprehensiveness_with_validation(key, major_version):
<reporting-org ref="BBB"/>
<iati-identifier>AAA-1</iati-identifier>
<participating-org role="4"/><!-- Implementing -->
<activity-status code="2"/>
<activity-status code="2" />
<activity-date iso-date="9990-05-01" />
<!-- Must have at least one activity-date of type start-planned or start-actual with valid date -->
<activity-date type="end-planned" iso-date="2014-01-01" />
Expand Down Expand Up @@ -591,7 +591,7 @@ def test_comprehensiveness_with_validation(key, major_version):
<iati-identifier>AAA-1</iati-identifier>
<participating-org role="Funding"/>
<!-- Must have at least one activity-date in the past year (if 'end-actual') or in the future (if type 'end-planned') -->
<activity-date type="end-planned" iso-date="2015-06-01" />
<activity-date iso-date="2015-06-01" type="end-planned" />
<sector vocabulary="DAC" percentage="50" code="11220" />
<sector vocabulary="DAC" percentage="50" code="11240" />
<sector vocabulary="DAC-3" percentage="50" code="111" />
Expand Down Expand Up @@ -633,7 +633,7 @@ def test_comprehensiveness_with_validation(key, major_version):
<iati-identifier>AAA-1</iati-identifier>
<participating-org role="1"/><!-- Funding -->
<!-- Must have at least one activity-date in the past year (if '4') or in the future (if type '3') -->
<activity-date type="3" iso-date="2015-06-01" />
<activity-date iso-date="2015-06-01" type="3" />
<sector vocabulary="1" percentage="50" code="11220" />
<sector vocabulary="1" percentage="50" code="11240" />
<sector vocabulary="2" percentage="50" code="111" />
Expand Down

0 comments on commit 1e83379

Please sign in to comment.