Skip to content

Commit

Permalink
minor tweak to expectations for two tests for downloads predicates
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Jan 2, 2017
1 parent c4dbf37 commit f658fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-occurrences-download_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_gbif_creation(self):

req = GbifDownload("name", "email")
self.assertIsInstance(req.payload, dict)
self.assertDictEqual(req.payload, {'created': 2016, 'creator': 'name',
self.assertDictEqual(req.payload, {'created': 2017, 'creator': 'name',
'notification_address': ['email'],
'predicate': {'predicates': [],
'type': 'and'},
Expand All @@ -36,7 +36,7 @@ def test_alternative_main_type(self):
req = GbifDownload("name", "email")
req.main_pred_type = "or"
self.assertIsInstance(req.payload, dict)
self.assertDictEqual(req.payload, {'created': 2016, 'creator': 'name',
self.assertDictEqual(req.payload, {'created': 2017, 'creator': 'name',
'notification_address': ['email'],
'predicate': {'predicates': [],
'type': 'or'},
Expand Down

0 comments on commit f658fed

Please sign in to comment.