FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Running functional_tests.sh fails with -k after first run · Issue #1146 · python-gitlab/python-gitlab · GitHub

Repository navigation

Running functional_tests.sh fails with -k after first run #1146

Description

Description of the problem, including code/CLI snippet

# this will pass
./tools/functional_tests.sh -k
# this will fail
./tools/functional_tests.sh -k

Expected Behavior

Both should pass

Actual Behavior

==================================================================================== FAILURES ====================================================================================
_______________________________________________________________________ test_create_issue_note[inprocess] ________________________________________________________________________

gitlab_cli = <function gitlab_cli.<locals>._gitlab_cli at 0x7f99f225c3a0>, issue = <ProjectIssue iid:2>

    def test_create_issue_note(gitlab_cli, issue):
        body = "body"
    
        cmd = [
            "project-issue-note",
            "create",
            "--project-id",
            issue.project_id,
            "--issue-iid",
            issue.id,
            "--body",
            body,
        ]
        ret = gitlab_cli(cmd)
    
>       assert ret.success
E       assert False
E        +  where False = <pytest_console_scripts.RunResult object at 0x7f99f297bf10>.success

tools/functional/test_cli_v4.py:186: AssertionError
------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------
# Running console script: gitlab --config-file /tmp/python-gitlab.cfg project-issue-note create --project-id 41 --issue-iid 27 --body body
# Script return code: 1
# Script stdout:

# Script stderr:
Impossible to create object (404: 404 Not found)

Specifications

  • python-gitlab version: master
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): latest from dockerhub (i.e. whatever functional_tests.sh pulls down.

Activity

  1. added a commit that references this issue on Aug 7, 2020
    0078f89
  2. locked as resolved and limited conversation to collaborators on Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL