Skip to content

Rename do something fixture#4087

Open
Ahmedadel87 wants to merge 17 commits intoNVIDIA:mainfrom
Ahmedadel87:rename-do-something-fixture
Open

Rename do something fixture#4087
Ahmedadel87 wants to merge 17 commits intoNVIDIA:mainfrom
Ahmedadel87:rename-do-something-fixture

Conversation

@Ahmedadel87
Copy link

@Ahmedadel87 Ahmedadel87 commented Mar 4, 2026

Renamed the session-scoped fixture do_something to set_up_target in all relevant Python test files to improve the clarity. Testing showed no issues with the rename.

@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 4, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Omar <ahmedadel4355@gmail.com>
@Ahmedadel87 Ahmedadel87 force-pushed the rename-do-something-fixture branch from ca22189 to 8785f84 Compare March 4, 2026 14:40
Copy link
Collaborator

@khalatepradnya khalatepradnya left a comment

Choose a reason for hiding this comment

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

@Ahmedadel87 : Thank you for the contribution!
I think this can be further improved by giving meaningful names in all cases.

… further clarity

Signed-off-by: Omar <ahmedadel4355@gmail.com>
Signed-off-by: Omar <ahmedadel4355@gmail.com>
Copy link
Collaborator

@khalatepradnya khalatepradnya left a comment

Choose a reason for hiding this comment

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

The second set of changes are looking good.
Please remove the unnecessary files and changes.

…o rest_run_clear

Signed-off-by: Omar <ahmedadel4355@gmail.com>
@Ahmedadel87 Ahmedadel87 force-pushed the rename-do-something-fixture branch from a0bf6c4 to 2a0c42e Compare March 5, 2026 18:14
Signed-off-by: Omar <ahmedadel4355@gmail.com>
@Ahmedadel87 Ahmedadel87 force-pushed the rename-do-something-fixture branch from 2a0c42e to 57592bc Compare March 5, 2026 18:18
@Ahmedadel87
Copy link
Author

Ahmedadel87 commented Mar 5, 2026

Made sure there are no changes except the renaming of do_something functions in the python/tests folders.

@khalatepradnya
Copy link
Collaborator

@Ahmedadel87 - Please sign your commits. See this.

@Ahmedadel87 Ahmedadel87 closed this Mar 5, 2026
@Ahmedadel87
Copy link
Author

@Ahmedadel87 - Please sign your commits. See this.

I have all signed except the first commit, but I don't know how I can change that commit now.

github-actions bot pushed a commit that referenced this pull request Mar 5, 2026
@khalatepradnya
Copy link
Collaborator

@Ahmedadel87 : Was this PR closed by mistake?

@Ahmedadel87
Copy link
Author

@Ahmedadel87 : Was this PR closed by mistake?

I don't know, I don't think I closed it.

@khalatepradnya khalatepradnya reopened this Mar 5, 2026
@Ahmedadel87
Copy link
Author

Ahmedadel87 commented Mar 5, 2026

@Ahmedadel87 : Was this PR closed by mistake?

It seems I have closed it by accident, I apologise for my mistake.

…nstead of n, and renamed one function for further clarity

Signed-off-by: Omar <ahmedadel4355@gmail.com>
…ed one function.

Signed-off-by: Omar <ahmedadel4355@gmail.com>
@Ahmedadel87 Ahmedadel87 force-pushed the rename-do-something-fixture branch from ba0e20e to 2bb3460 Compare March 6, 2026 10:49
I, Omar <ahmedadel4355@gmail.com>, hereby add my Signed-off-by to this commit: 41b1527

Signed-off-by: Omar <ahmedadel4355@gmail.com>
@Ahmedadel87 Ahmedadel87 force-pushed the rename-do-something-fixture branch from 1941091 to 1b8d753 Compare March 6, 2026 11:19
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@Ahmedadel87
Copy link
Author

Thanks, @Ahmedadel87! LGTM.

You are welcome, it was nice working with you!

@schweitzpgi schweitzpgi added maintenance Work items to update and improve the code base testing Relates to testing python Pull requests that update python code labels Mar 9, 2026
@khalatepradnya
Copy link
Collaborator

Thanks, @Ahmedadel87! LGTM.

You are welcome, it was nice working with you!

@Ahmedadel87 - Can you align with the latest mainline (resolve conflicts), and do another sweep for do_something? I think newly added test files also should be updated, for example, python/tests/backends/test_tii.py (here).
Thanks!

@Ahmedadel87
Copy link
Author

Thanks, @Ahmedadel87! LGTM.

You are welcome, it was nice working with you!

@Ahmedadel87 - Can you align with the latest mainline (resolve conflicts), and do another sweep for do_something? I think newly added test files also should be updated, for example, python/tests/backends/test_tii.py (here). Thanks!

Sorry, bit late, but sure I can do that.

Ahmedadel87 and others added 2 commits March 14, 2026 19:48
Signed-off-by: Omar <ahmedadel4355@gmail.com>
Signed-off-by: Omar <79374829+Ahmedadel87@users.noreply.github.com>
Signed-off-by: Eric Schweitz <eschweitz@nvidia.com>
@schweitzpgi
Copy link
Collaborator

schweitzpgi commented Mar 19, 2026

/ok to test 91a0df9

Command Bot: Processing...

@schweitzpgi
Copy link
Collaborator

@Ahmedadel87 please fix any failing CI jobs so we can merge these. Thanks for your contribution.

@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Work items to update and improve the code base python Pull requests that update python code testing Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor] [python] [testing] Rename vague backend test fixtures (e.g. do_something) to descriptive names

4 participants