Skip to content

Deprecation warnings from navmazing #1840

@tpapaioa

Description

@tpapaioa
/airgun/entities/organization.py:54: DeprecationWarning: additional navigation args are deprecated, (org_name='PHwuYMGhQWyg') was given
  use auxiliary classes to register configured locations
    self.navigate_to(self, 'Context', org_name=org_name)

  /airgun/entities/location.py:50: DeprecationWarning: additional navigation args are deprecated, (loc_name='Default Location') was given
  use auxiliary classes to register configured locations
    self.navigate_to(self, 'Context', loc_name=loc_name)

Navigation using extra kwargs like loc_name, org_name, or entity_name in navigate_to(obj, 'Name', **kwargs) is deprecated in favor of using only attributes of obj.

https://github.com/RedHatQE/navmazing/pull/30/files#diff-1f0945bd1cfa669f3c8dcbe4cab712bb24199d94670572311e76fa65ae373287R75

Airgun currently uses this kwargs-based navigation heavily.

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