Commit Graph

7929 Commits

Author SHA1 Message Date
Jean-Paul Calderone
d902f7567f Add a test for nested decorated generators 2019-02-22 08:39:38 -05:00
Jean-Paul Calderone
66d4a9b4a1 Depend on Eliot 2019-02-21 13:19:57 -05:00
Jean-Paul Calderone
cd3207e543 test that close works. it does. 2019-02-21 13:11:44 -05:00
Jean-Paul Calderone
05807ace40 Split the implementation helpers out of the test suite 2019-02-21 12:54:10 -05:00
Jean-Paul Calderone
730d2d95d3 news fragment 2019-02-21 12:50:26 -05:00
Jean-Paul Calderone
609af9ce18 unused import 2019-02-21 12:42:57 -05:00
Jean-Paul Calderone
15ae31bf23 A stab at Eliot support for inlineCallbacks 2019-02-21 12:42:52 -05:00
Jean-Paul Calderone
9ad8e21530 An Eliot-adjacent testing helper 2019-02-21 12:42:46 -05:00
Jean-Paul Calderone
6f7e1250e8
Merge pull request #549 from tahoe-lafs/2971.super-argument-order
Fix super() argument order

Fixes: ticket:2971
2019-02-18 09:53:05 -05:00
Jean-Paul Calderone
4611e38b01
Merge pull request #548 from tahoe-lafs/2970.keep-tempdir
Document --keep-tempdir correctly

Fixes: ticket:2970
2019-02-18 09:51:42 -05:00
Jean-Paul Calderone
2bf5228586
Merge pull request #547 from tahoe-lafs/2969.aggressive-integration-test-cleanup
Aggressive integration test cleanup

Fixes: ticket:2969
2019-02-18 09:45:33 -05:00
Jean-Paul Calderone
6d948b68cf The fix 2019-02-15 13:58:02 -05:00
Jean-Paul Calderone
b9fc08a01f news fragment 2019-02-15 13:57:56 -05:00
Jean-Paul Calderone
f5b7058efe Allow an error exit status from flogtool dump
If the flog is truncated, parsing it will fail and flogtool will exit with an
error.  There's no particular reason to allow this to fail a test.
2019-02-15 13:46:25 -05:00
Jean-Paul Calderone
9b2bc66c6c news fragment 2019-02-15 13:39:25 -05:00
Jean-Paul Calderone
9a77f1d2e9 This default is also not necessary. 2019-02-15 13:37:42 -05:00
Jean-Paul Calderone
7226fedd9c Avoid having this line crammed onto the end of a line of pytest output 2019-02-15 13:37:27 -05:00
Jean-Paul Calderone
845e1e7a4a There is no need for a default. There is always a value. 2019-02-15 13:24:23 -05:00
Jean-Paul Calderone
2c994b4417 Document the usage correctly 2019-02-15 13:24:17 -05:00
Jean-Paul Calderone
02890fb205 news fragment 2019-02-15 12:58:20 -05:00
Jean-Paul Calderone
e511adbf63 Use the new cleanup helper for process cleanup
This removes some repetition of logic and switches to a more aggressive
cleanup approach.
2019-02-15 12:41:45 -05:00
Jean-Paul Calderone
cec31e6e5a add a helper for vigorously cleaning up processes 2019-02-15 12:39:30 -05:00
Jean-Paul Calderone
19e03bbff0 pyflakes cleanups 2019-02-15 11:50:14 -05:00
Jean-Paul Calderone
b0f4fc5451
Merge pull request #546 from tahoe-lafs/pytest-deprecations
Switch the integration tests to pytest_twisted

Fixes: ticket:2968
2019-02-05 18:53:31 -05:00
Jean-Paul Calderone
a26d7f93bc news fragment 2019-02-05 11:12:37 -05:00
Jean-Paul Calderone
f905d80760 switch to pytest_twisted 2019-02-05 11:03:35 -05:00
Jean-Paul Calderone
e57449e055
Merge pull request #543 from tahoe-lafs/nonetworkclient-stopservice-return-deferred
Return the result of the base MultiService.stopService

Fixes: ticket:2966
2019-01-31 20:43:26 -05:00
Jean-Paul Calderone
c764214d0e A note about this queue flushing. 2019-01-31 09:07:31 -05:00
Jean-Paul Calderone
f61b51619d Improve the failure mode for this test.
Make it show stderr if there is any and stdout if the expected content is missing.
2019-01-31 08:16:57 -05:00
Jean-Paul Calderone
89bb68254b Speed up MagicFolder service shutdown
Also work-around a tricky, mysterious failure in the test suite by explicitly
flushing the eventual call queue.  I don't understand where the call that is
landing there comes from or why some other part of the code isn't properly
waiting on it.
2019-01-31 08:16:57 -05:00
Jean-Paul Calderone
644fd04d08 news fragment 2019-01-31 08:16:57 -05:00
Jean-Paul Calderone
2b475777d9 Return the result of the base stopService
It is a Deferred that indicates when things have actually stopped.  Failing to
return it means callers will think everything stopped synchronously.  This is
certainly not the case.
2019-01-31 08:16:57 -05:00
Jean-Paul Calderone
baa0a46cd4
Merge pull request #544 from tahoe-lafs/2967.alias-test_create
Fix CreateAlias.test_create

This test didn't previously run completely due to a bug in the test itself.

Fixes: ticket:2967
2019-01-31 08:16:39 -05:00
Jean-Paul Calderone
0f6009b97e Fix the option setup for the webopen command. 2019-01-30 19:32:56 -05:00
Jean-Paul Calderone
b54a6e811b Return the Deferred to make the test valid 2019-01-30 19:24:28 -05:00
Jean-Paul Calderone
f0734284e0 whitespace 2019-01-30 19:24:20 -05:00
Jean-Paul Calderone
aeea924c1e news fragment 2019-01-30 19:24:15 -05:00
Jean-Paul Calderone
8ba452c62a
Merge pull request #542 from tahoe-lafs/2962.buildbot-macos-package-failure
Fix the macOS buildbot builder

Fixes: ticket:2962
2019-01-26 14:40:27 -05:00
Jean-Paul Calderone
4f649f313e Don't upload because we can't 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
922554cd28 Probably some test cruft screws up the package 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
4f119c876c what's coming out of this 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
d790d3d325 report more about the failed process 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
41fe2189dd whitespace cleanup 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
b9f9079aa5 news fragment 2019-01-26 10:02:08 -05:00
Jean-Paul Calderone
b88f166018
Merge pull request #541 from tahoe-lafs/2961.circleci-slackware.14-2
Fix CircleCI Slackware 14.2 job

Fixes: ticket:2961
2019-01-25 18:51:33 -05:00
Jean-Paul Calderone
7783433369 Back off on the specificity for git installation
Version number got bumped, nothing was being installed.
2019-01-25 17:03:04 -05:00
Jean-Paul Calderone
cdf6e90dd5 news fragment 2019-01-25 17:01:33 -05:00
Jean-Paul Calderone
c73c32d048
Merge pull request #540 from tahoe-lafs/2958.no-build-isolation
Fix the macOS pyinstaller travis job

Fixes: ticket:2958
2019-01-25 12:26:39 -05:00
Jean-Paul Calderone
fec5064a2f Get pip and pyinstaller working together. 2019-01-25 10:46:23 -05:00
Jean-Paul Calderone
bad1411bd6 news fragment 2019-01-25 10:45:44 -05:00