← Back to issue list

Import mock from unittest.

View original Github issue

Metadata

Project
snapcraft
Number
#492
Type
pull request
State
merged
Author
come-maiz
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #492 as 6e3f923d3, replacing external mock imports with unittest.mock in seven test files to address LP #1576998.

Resolution: closed resolved

Reason: PR #492 was merged into Snapcraft as commit 6e3f923d3. It updated seven test files to import mocking utilities from unittest.mock.

Evaluated by: mr-cal-bot

No scores available.

Issue body

LP: #1576998

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #492 as 6e3f923d3, replacing external mock imports with unittest.mock in seven test files to address LP #1576998.
stealth/space-bunny-alpha — closed resolved Merged PR #492 replaced external mock imports with unittest.mock across seven files, resolving LP #1576998; merged as commit 6e3f923d3.
stealth/space-bunny-alpha — closed resolved Merged PR #492 replaced external mock imports with unittest.mock across seven files, addressing LP #1576998.
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#492, replacing external mock imports with unittest.mock across seven files (+7/-9) and addressing LP #1576998.
qwen/qwen3.6-35b-a3b — — Merged updates to import mock from unittest across seven files, modifying +7/-9 lines to use the standard library module. Addresses LP: #1576998.
qwen3.6-35b-a3b-mtp-q6 — — Merged to import mock from unittest, resolving Launchpad bug #1576998. The change standardizes test dependencies and was accepted without additional comments.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#494 (confidence 90%)

    Follow-up PR that removed a missing unittest.mock replacement.

Related issues

Issue Project State Summary Similarity
#494 Remove missing replacement for unittest.mock snapcraft merged Merged PR #494 removed the missing unittest.mock replacement for LP #1576998 in commit 16a0eeba7.
73%