Skip to content

[Bug]: Pytest failing for test_desktop #450

@HeetVekariya

Description

@HeetVekariya

Describe the bug

  • When we run uv run pytest command, the pytest gets failed for test_desktop located here

To Reproduce
Steps to reproduce the behavior:

  1. Follow the Developement Setup
  2. Run uv run pytest
  3. See error
assert "/fake/path/file1.txt" in content.text
E           assert '/fake/path/file1.txt' in '["\\\\fake\\\\path\\\\file1.txt", "\\\\fake\\\\path\\\\file2.txt"]'
E            +  where '["\\\\fake\\\\path\\\\file1.txt", "\\\\fake\\\\path\\\\file2.txt"]' = TextResourceContents(uri=AnyUrl('dir://desktop'), mimeType='text/plain', text='["\\\\fake\\\\path\\\\file1.txt", "\\\\fake\\\\path\\\\file2.txt"]').text

tests\test_examples.py:71: AssertionError

Expected behavior

  • All test cases passed.

Desktop (please complete the following information):

  • OS: Windows

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs confirmationNeeds confirmation that the PR is actually required or needed.questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions