Skip to content

Pytest Failing During Setup #17

@GhazanfarTaqi

Description

@GhazanfarTaqi

I was setting my local repo for this project, and after installing the dependencies, I ran the pytest command, and 8 tests failed.
Short Error summary is below:
FAILED tests/test_core.py::TestCloudAnalyzer::test_initialization - AttributeError: 'CloudAnalyzer' object has no attribute 'region'
FAILED tests/test_core.py::TestCloudAnalyzer::test_analyze - AttributeError: 'CloudAnalyzer' object has no attribute 'analyze'
FAILED tests/test_log_processor.py::TestLogProcessor::test_analyze_logs_basic - AttributeError: 'dict' object has no attribute 'upper'
FAILED tests/test_log_processor.py::TestLogProcessor::test_analyze_logs_error_detection - AttributeError: 'dict' object has no attribute 'upper'
FAILED tests/test_log_processor.py::TestLogProcessor::test_analyze_logs_warning_detection - AttributeError: 'dict' object has no attribute 'upper'
FAILED tests/test_log_processor.py::TestLogProcessor::test_log_level_distribution - AttributeError: 'dict' object has no attribute 'upper'
FAILED tests/test_log_processor.py::TestLogAnomalyDetection::test_error_spike_detection - AttributeError: 'dict' object has no attribute 'upper'
FAILED tests/test_log_processor.py::TestLogAnomalyDetection::test_repeated_error_detection - AttributeError: 'dict' object has no attribute 'upper'

Does anyone have an idea why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions