Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix download tests failing with hard-coded date #47

Closed
sckott opened this issue Jan 5, 2019 · 0 comments
Closed

fix download tests failing with hard-coded date #47

sckott opened this issue Jan 5, 2019 · 0 comments
Milestone

Comments

@sckott
Copy link
Collaborator

sckott commented Jan 5, 2019

======================================================================
FAIL: test the addition of another predicate combiner
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/sckott/github/sac/pygbif/test/test-occurrences-download_request.py", line 43, in test_alternative_main_type
    'send_notification': 'true'})
AssertionError: {'creator': 'name', 'notification_address': ['em[94 chars] []}} != {'created': 2018, 'creator': 'name', 'notificati[94 chars]rue'}
- {'created': 2019,
?                ^

+ {'created': 2018,
?                ^

   'creator': 'name',
   'notification_address': ['email'],
   'predicate': {'predicates': [], 'type': 'or'},
   'send_notification': 'true'}

======================================================================
FAIL: test the creation of the predicate class
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/sckott/github/sac/pygbif/test/test-occurrences-download_request.py", line 31, in test_gbif_creation
    'send_notification': 'true'})
AssertionError: {'creator': 'name', 'notification_address': ['em[95 chars] []}} != {'created': 2018, 'creator': 'name', 'notificati[95 chars]rue'}
- {'created': 2019,
?                ^

+ {'created': 2018,
?                ^

   'creator': 'name',
   'notification_address': ['email'],
   'predicate': {'predicates': [], 'type': 'and'},
   'send_notification': 'true'}
@sckott sckott added this to the v0.3 milestone Jan 5, 2019
@sckott sckott closed this as completed in 3b3432c Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant