Skip to content

CLI Arguments not properly parsed #57

@LarsHadidi

Description

@LarsHadidi

name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''


Describe the bug
Passing the api_key through the command line interface yields the following error:
Unable to get 'id' from json: {'error_description': 'Invalid access token', 'error': 'invalid_token'}

Steps to Reproduce
Steps to reproduce the behavior:

  1. behave -D api_key=...

Expected behavior
Same behaviour as if api_key is provided in behave.ini

Actual behavior
Client errors out

Package versions
behave-reportportal 5.0.2
reportportal-client 5.6.7

Additional context
running inside DevPod, local ReportPortal Server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions