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

TestCase.get_query_result_count doesn't return the same as TestCase.query #11

Open
leistnerova opened this issue Mar 17, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@leistnerova
Copy link

Running TestCase.get_query_result_count(query) and TestCase.query(query) with the same query returns different results.
Method get_query_result_count() is missing default_project from .pylero config. So when I've added to the query 'project.id:XXX', then it returns the same number as results in query().

@leelavg leelavg added the bug Something isn't working label Mar 18, 2021
@leelavg leelavg self-assigned this Mar 18, 2021
@leelavg leelavg added the good first issue Good for newcomers label Mar 22, 2022
@leelavg leelavg removed their assignment Sep 17, 2022
@leelavg
Copy link
Collaborator

leelavg commented Oct 26, 2022

@leistnerova just going over pending issues and this is here from long time.

  • is this feature still needed as the re-work is quite considerable and only be picked up if this is any blocker
  • I see a workaround exists and leaning towards closing this issue by adding docs to these methods, wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants