Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Fix job date filtering for between #452

Merged
merged 17 commits into from
Nov 18, 2019
Merged

Conversation

lgarc15
Copy link
Contributor

@lgarc15 lgarc15 commented Nov 15, 2019

Summary

Addresses #450
Related to #442

Details and comments

@requires_device
def test_get_jobs_filter_date_backend(self, backend):
@requires_provider
def test_get_jobs_filter_date_backend(self, provider):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's all that necessary to have a separate test case for backend.jobs(), since it just calls backendservice.jobs() (but I suppose there is no harm since it's quick - your decision). It'd be more useful to have a test case that specifies both datetime as keyword and inside db_filter, for example start_date=past_month, db_filter={'creationDate': {'lt': past_two_month}}

@jyu00 jyu00 merged commit ab31c5c into Qiskit:master Nov 18, 2019
@lgarc15 lgarc15 deleted the fix-filter-query branch November 26, 2019 20:00
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants