lp://staging/~adam-collard/landscape-client/drop-mocker
- Get this branch:
- bzr branch lp://staging/~adam-collard/landscape-client/drop-mocker
Branch merges
- Björn Tillenius (community): Approve
- Alberto Donato: Approve
- 🤖 Landscape Builder: Approve (test results)
-
Diff: 2287 lines (+51/-2164)3 files modifiedMakefile (+1/-1)
landscape/tests/helpers.py (+50/-8)
landscape/tests/mocker.py (+0/-2155)
Branch information
Recent revisions
- 910. By Данило Шеган
-
Merge mock-tests-
watchdog- middle [f=1592875] [r=landscape- builder, tealeg, adam-collard] [a=Данило Шеган]
Make a twisted mockery of landscape.tests.test_ watchdog. DaemonTest. - 908. By Adam Collard
-
Merge mocker-
replace- reporter- run [f=1592875] [r=landscape- builder, chad.smith, tealeg] [a=Adam Collard]
Mock out fetch_async in test_reporter.py and sort out the test_run method. - 907. By Chad Smith
-
Merge mocker-
to-mock- package- reporter- 2 [f=1592875] [r=ack, tribaal, tealeg, landscape- builder] [a=Chad Smith]
Time to retire mocker, you have lived a good life.
Phase 2 test_reporter mocker-> mock - 906. By Adam Collard
-
Merge mocker-
replace- watchdog- service- tests [f=1592875] [r=adam- collard, bogdana, ack,landscape- builder] [a=Adam Collard]
Move WatchDogServiceTest from mocker to mock. - 905. By Geoff Teale
-
Merge mocker-
replace- test-changer [f=1592875] [r=simpoir,ack] [a=Geoff Teale]
Replace mocker with mock and patch.Note that tests that were previously writing shell script and executing those scripts have been *radically* simplified - at least one of these was previous failing to execute it's deferred assertions.
Testing instructions:
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~landscape/landscape-client/trunk