Skip to content

Fix missing or failing tests #96

@vduseev

Description

@vduseev

Describe the bug
Missing of failing tests.

To Reproduce
Steps to reproduce the behavior:

  1. pytest

Expected behavior
All green.

Desktop (please complete the following information):

  • OS: macos
  • Version: latest main
========================================================= short test summary info =========================================================
FAILED test/configuration_v1/test_management_zones.py::test_get - AssertionError: assert <RuleType.SERVICE: 'SERVICE'> == <RuleType.SERVICE: 'SERVICE'>
FAILED test/environment_v1/test_smartscape_hosts.py::test_list - FileNotFoundError: [Errno 2] No such file or directory: '/Users/vagiz.duseev/Projects/api-client-python/test/mock_data/GET_api_v1_enti...
FAILED test/environment_v2/test_entities.py::test_list - KeyError: 'type'
FAILED test/environment_v2/test_entities.py::test_get - KeyError: 'type'
FAILED test/environment_v2/test_metrics.py::test_query - FileNotFoundError: [Errno 2] No such file or directory: '/Users/vagiz.duseev/Projects/api-client-python/test/mock_data/GET_api_v2_metr...
FAILED test/environment_v2/test_problems.py::test_list_comments - FileNotFoundError: [Errno 2] No such file or directory: '/Users/vagiz.duseev/Projects/api-client-python/test/mock_data/GET_api_v2_prob...
====================================================== 6 failed, 96 passed in 0.26s =======================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions