Changeset 249f431 in trunk


Ignore:
Timestamp:
2022-07-05T15:14:52Z (3 years ago)
Author:
Itamar Turner-Trauring <itamar@…>
Branches:
master
Children:
97d0ba2
Parents:
451e6879
Message:

Use MonkeyPatch? instead of MockPatch?, since we're not mocking.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/allmydata/test/test_storage_http.py

    r451e6879 r249f431  
    2626from pycddl import ValidationError as CDDLValidationError
    2727from hypothesis import assume, given, strategies as st
    28 from fixtures import Fixture, TempDir, MockPatch
     28from fixtures import Fixture, TempDir, MonkeyPatch
    2929from treq.testing import StubTreq
    3030from klein import Klein
     
    374374        # server.
    375375        self.mock = self.useFixture(
    376             MockPatch(
     376            MonkeyPatch(
    377377                "twisted.internet.task._theCooperator",
    378378                Cooperator(scheduler=lambda c: self.clock.callLater(0.000001, c)),
Note: See TracChangeset for help on using the changeset viewer.