[PR #1446] [MERGED] prefer standard library version of mock over back port #2229

Closed
opened 2026-02-27 12:09:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/modoboa/modoboa/pull/1446
Author: @ghost
Created: 3/31/2018
Status: Merged
Merged: 4/2/2018
Merged by: @tonioo

Base: masterHead: fix/prefer-stdlib-mock


📝 Commits (1)

  • 1aff9b2 prefer standard library version of mock over back port

📊 Changes

7 files changed (+70 additions, -36 deletions)

View changed files

📝 modoboa/admin/tests/test_api.py (+9 -3)
📝 modoboa/admin/tests/test_domain.py (+9 -3)
📝 modoboa/admin/tests/test_import_.py (+9 -3)
📝 modoboa/admin/tests/test_mailbox_operations.py (+7 -2)
📝 modoboa/admin/tests/test_mx.py (+24 -18)
📝 modoboa/core/tests/test_authentication.py (+11 -6)
📝 test-requirements.txt (+1 -1)

📄 Description

In python >=3.3 mock is included in the Python standard library (unittest.mock).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/modoboa/modoboa/pull/1446 **Author:** [@ghost](https://github.com/ghost) **Created:** 3/31/2018 **Status:** ✅ Merged **Merged:** 4/2/2018 **Merged by:** [@tonioo](https://github.com/tonioo) **Base:** `master` ← **Head:** `fix/prefer-stdlib-mock` --- ### 📝 Commits (1) - [`1aff9b2`](https://github.com/modoboa/modoboa/commit/1aff9b2a9868e63fa26e3ffbcf33ea706ead04f9) prefer standard library version of mock over back port ### 📊 Changes **7 files changed** (+70 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `modoboa/admin/tests/test_api.py` (+9 -3) 📝 `modoboa/admin/tests/test_domain.py` (+9 -3) 📝 `modoboa/admin/tests/test_import_.py` (+9 -3) 📝 `modoboa/admin/tests/test_mailbox_operations.py` (+7 -2) 📝 `modoboa/admin/tests/test_mx.py` (+24 -18) 📝 `modoboa/core/tests/test_authentication.py` (+11 -6) 📝 `test-requirements.txt` (+1 -1) </details> ### 📄 Description In python >=3.3 mock is included in the Python standard library (`unittest.mock`). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 12:09:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#2229
No description provided.