Use named quries and input variables instead of creating query strings
Use gql documents instead of strings
Resolves T4554
Differential D8629
Refactor functional tests jayeshv on Oct 5 2022, 1:50 PM. Authored by
Details
Use named quries and input variables instead of creating query strings Resolves T4554 No logic or test changes.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8629 (id=31149)Rebasing onto 6e1c3e8ecf... Current branch diff-target is up to date. Changes applied before testcommit 6e4b33ecbe08923139deeebe13447f86389b43db Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Wed Oct 5 10:31:20 2022 +0200 Refactor functional tests Use named quries and input variables instead of creating query strings Use gql documents instead of strings Resolves T4554 See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/212/ for more details. Comment Actions nice! Have you considered switching to **kwargs instead of a single variables argument? I should make calls shorter (saves quotes and variables=) Comment Actions Build is green Patch application report for D8629 (id=31150)Rebasing onto 6e1c3e8ecf... Current branch diff-target is up to date. Changes applied before testcommit 0f2eaba90f947a688044fc6a9aef54dea2bbdd93 Author: Jayesh Velayudhan <jayesh@softwareheritage.org> Date: Wed Oct 5 10:31:20 2022 +0200 Refactor functional tests Use named quries and input variables instead of creating query strings Use gql documents instead of strings Resolves T4554 See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/213/ for more details. |