Skip to content

Preup tests#503

Merged
yungwine merged 4 commits intoton-blockchain:devfrom
yungwine:preup-tests
Jan 13, 2026
Merged

Preup tests#503
yungwine merged 4 commits intoton-blockchain:devfrom
yungwine:preup-tests

Conversation

@yungwine
Copy link
Collaborator

No description provided.

@yungwine yungwine requested a review from Copilot January 13, 2026 09:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yungwine yungwine requested a review from Copilot January 13, 2026 09:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yungwine yungwine requested a review from Copilot January 13, 2026 09:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yungwine yungwine force-pushed the preup-tests branch 2 times, most recently from 57906f2 to b6f7c41 Compare January 13, 2026 09:47
@yungwine yungwine requested a review from Copilot January 13, 2026 09:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yungwine yungwine requested a review from Copilot January 13, 2026 09:48
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yungwine yungwine requested a review from Copilot January 13, 2026 09:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

monkeypatch.setattr(subprocess, 'run', run_mock)
output = cli.run_pre_up()
assert 'mytonctrl was installed by another user' in output
assert f'launch mtc with `installeruser` user'
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

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

This assertion statement is incomplete - it's missing the 'in output' comparison. The assertion should check that the string is present in the output variable.

Suggested change
assert f'launch mtc with `installeruser` user'
assert 'launch mtc with `installeruser` user' in output

Copilot uses AI. Check for mistakes.
git_path = local.buffer.my_dir
result = check_git_update(git_path)
if result is True:
color_print(local.translate("mytonctrl_update_available"))
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

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

Missing comment marker at the end of the function. The function check_mytonctrl_update should end with '#end define' comment for consistency with the codebase style, as seen on line 214 where it was removed.

Suggested change
color_print(local.translate("mytonctrl_update_available"))
color_print(local.translate("mytonctrl_update_available"))
#end define

Copilot uses AI. Check for mistakes.
Comment on lines 223 to 224


Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

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

Missing comment marker at the end of the function. The function pre_up should end with '#end define' comment for consistency with the codebase style, as seen in other functions like check_installer_user on line 212.

Suggested change
#end define

Copilot uses AI. Check for mistakes.
@yungwine yungwine merged commit 5822802 into ton-blockchain:dev Jan 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant