Skip to content

Add tests for import errors where there is missing extra #838

@vdusek

Description

@vdusek

Problem

  • The test_import_error_handled is currently not functional with the new crawlee._utils.try_import.ImportWrapper.
  • As a result, the test is marked as skipped.

Solution

  • Come up with a way to ensure that ImportError is properly raised when required extras are missing.
  • Extend this testing approach to cover all extras - parsel, beautifulsoup, playwright, and curl-impersonate.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

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