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

evernote-backup: update test #180689

Merged
merged 1 commit into from
Aug 9, 2024
Merged

evernote-backup: update test #180689

merged 1 commit into from
Aug 9, 2024

Conversation

chenrui333
Copy link
Member

@chenrui333 chenrui333 commented Aug 9, 2024

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

seeing test failure as

  Minitest::Assertion: Expected /Password\ login\ disabled/ to match "2024-08-09 17:02:46,059 | [INFO] | 8263715840 | Logging in to Evernote...\n2024-08-09 17:02:46,182 | [CRITICAL] | 8263715840 | Traceback (most recent call last):\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/cli.py\", line 305, in main\n    cli()\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/click/core.py\", line 1157, in __call__\n    return self.main(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/click/core.py\", line 1078, in main\n    rv = self.invoke(ctx)\n         ^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/click/core.py\", line 1688, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/click/core.py\", line 1434, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/click/core.py\", line 783, in invoke\n    return __callback(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/cli.py\", line 158, in init_db\n    cli_app.init_db(\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/cli_app.py\", line 38, in init_db\n    auth_token = get_auth_token(\n                 ^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/cli_app_auth.py\", line 56, in get_auth_token\n    return evernote_login_password(\n           ^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/cli_app_auth_password.py\", line 56, in evernote_login_password\n    auth_res = auth_client.login(auth_user, auth_password)\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/evernote_client_auth.py\", line 27, in login\n    return self.user_store.authenticateLongSessionV2(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/evernote_client.py\", line 138, in wrapper\n    return target_method_retry(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/evernote_client_util.py\", line 28, in wrapper\n    return fun(*args, **kwargs)\n           ^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote_backup/evernote_client_classes.py\", line 294, in authenticateLongSessionV2\n    return self.recv_authenticateLongSession()\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/homebrew/Cellar/evernote-backup/1.9.3/libexec/lib/python3.12/site-packages/evernote/edam/userstore/UserStore.py\", line 781, in recv_authenticateLongSession\n    raise result.systemException\nevernote.edam.error.ttypes.EDAMSystemException: EDAMSystemException(message=None, errorCode=8, rateLimitDuration=None)\n\n".

@chenrui333 chenrui333 added the CI-no-bottles Merge without publishing bottles label Aug 9, 2024
@github-actions github-actions bot added the python Python use is a significant feature of the PR or issue label Aug 9, 2024
@Homebrew Homebrew deleted a comment from github-actions bot Aug 9, 2024
@chenrui333 chenrui333 added the ready to merge PR can be merged once CI is green label Aug 9, 2024
@p-linnane p-linnane added this pull request to the merge queue Aug 9, 2024
Merged via the queue into master with commit 4c115ab Aug 9, 2024
23 checks passed
@p-linnane p-linnane deleted the evernote-backup-update-test branch August 9, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-no-bottles Merge without publishing bottles python Python use is a significant feature of the PR or issue ready to merge PR can be merged once CI is green
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants