a9e9efb336
direct tests for @render_exception
2020-10-19 14:26:12 -04:00
b68c08cff9
Yank direct support for URLPath from common.py
2020-10-19 12:33:15 -04:00
72e60f8301
Fix imports
2020-10-18 11:12:44 -04:00
e710fd883a
Add a Twisted Web-based renderer and start using it on Python 3
...
This could be the thing that eventually replaces the Nevow-based testing
renderer on Python 2 as well.
2020-10-18 11:00:57 -04:00
84acf4e50f
Accept unicode return values and encode them to UTF-8
...
Nevow accepts unicode in most places it accepts bytes and does the usual
sloppy Python 2 thing, lets one or the other get implicitly re-coded,
typically using the ascii codec.
We'll go with UTF-8 because that fails less often than ASCII. We may want to
clean up the code at some point so we're not accidentally slinging both bytes
and text around as if they were the same thing.
2020-10-18 10:58:09 -04:00
738abf96f6
get rid of emacs-ism
2020-10-16 22:40:13 -06:00
fc1f43c7a3
How does it go without the type check
...
This is for py36:
> TypeError: helper_furl must be bytes, got 'pb://kl5iekm6itcyjejirxva2upthepsasnn@bogus:1234/frekgeq7gsongibyeuvzmvqoyf4h5pcx' instead
2020-10-16 19:07:28 -04:00
a403d25146
Merge remote-tracking branch 'origin/master' into 3468.offloaded-test-coverage
2020-10-16 14:34:35 -04:00
540004f319
news fragment
2020-10-16 14:18:32 -04:00
85bb0a7834
Get rid of the original token-based authorization helper
...
It was only used by magic-folder and that's gone now. We have a different
authorization helper for other things now, allmydata.web.private.
2020-10-16 14:14:15 -04:00
9e26599a76
Fix the race condition
2020-10-16 13:44:37 -04:00
292f136547
pyflakes
2020-10-16 13:21:07 -04:00
7b02f58da0
Make this test tolerant of more than one message
...
It is observing the log system. It is reasonable to believe more than one log
event might come through over the course of the test. We only need one, though.
2020-10-16 13:15:45 -04:00
a22426011b
import and naming cleanups post-merge
2020-10-16 12:49:36 -04:00
64a9e95319
Pass PATH (and other stuff) into the child process
2020-10-16 11:27:13 -04:00
75b3bf1097
Refuse to continue if the introducer fURL has no location hints.
2020-10-16 11:27:05 -04:00
960d115286
news fragment
2020-10-16 11:25:37 -04:00
Itamar Turner-Trauring
8e618b9383
Fix Python 2 issue.
2020-10-16 11:25:29 -04:00
Itamar Turner-Trauring
6aa96bbb8d
Port test_node.py to Python 3.
2020-10-16 11:23:38 -04:00
Itamar Turner-Trauring
a887ee5fc5
News file.
2020-10-16 11:20:24 -04:00
Itamar Turner-Trauring
f7a89f76e7
All tests pass on Python 3.
2020-10-16 11:20:10 -04:00
Itamar Turner-Trauring
51d472e221
More progress towards passing tests on Python 3.
2020-10-16 11:13:11 -04:00
Itamar Turner-Trauring
f689d59a40
More passing tests on Python 3.
2020-10-16 10:55:33 -04:00
Itamar Turner-Trauring
bcd7cdf86f
Some passing tests on Python 3.
2020-10-16 10:47:49 -04:00
28505ab57d
news fragment
2020-10-16 10:38:58 -04:00
32051f93b9
Merge remote-tracking branch 'origin/master' into 3428.dont-return-deferred-to-twistedweb.2
2020-10-16 10:37:54 -04:00
Itamar Turner-Trauring
c2fe5a65a6
Merge pull request #847 from tahoe-lafs/3459.test-checker-python-3
...
Port test_checker.py to Python 3
Fixes ticket:3459
2020-10-16 10:31:25 -04:00
a73a919a20
flakes
2020-10-16 10:22:42 -04:00
a1f1f00be7
Use the more feaetureful rendering helper
2020-10-16 09:53:30 -04:00
31207e4b6b
don't double-apply the renderer logic
...
since that leads to double-finishing requests too
2020-10-16 09:53:24 -04:00
0faa24d344
Add a mess of eliot logging to request handling
2020-10-16 09:53:19 -04:00
0339ba97b9
Turn getChild None and Deferred results into something Twisted Web can manage
2020-10-16 09:52:41 -04:00
fa02e46033
maybeDeferred always returns a Deferred
2020-10-16 09:52:33 -04:00
f733a244aa
Just gonna produce text instead
2020-10-16 09:52:26 -04:00
d38ae4d6dd
Stop reading server module attributes all the time
...
It jumps through a ton of deprecation machinery that is at least tedious in
the debugger, if not wasteful at runtime.
2020-10-16 09:52:18 -04:00
07246b3509
Render requests more thoroughly
2020-10-16 09:52:10 -04:00
df949868b6
Stop explicitly finishing and then returning a string
2020-10-16 09:51:50 -04:00
69c7c40510
handle Deferred from render
2020-10-16 09:51:42 -04:00
Jean-Paul Calderone
f15086d995
Merge pull request #844 from tahoe-lafs/3460.improved-got_announcement
...
Improved `_got_announcement`
Fixes: ticket:3460
2020-10-16 08:55:11 -04:00
Jean-Paul Calderone
fd70715a8b
Merge pull request #859 from tahoe-lafs/3472.windows-coverage-reports
...
Integrate Windows coverage reports
Fixes: ticket:3472
2020-10-16 07:54:26 -04:00
e007a4c2c1
foolish shell tricks spoil the day again
2020-10-16 06:54:06 -04:00
d66ef8f506
Merge remote-tracking branch 'origin/master' into 3472.windows-coverage-reports
2020-10-16 06:53:10 -04:00
Jean-Paul Calderone
99fe617069
Merge pull request #857 from tahoe-lafs/3470.oneshotobserverlist-immediately
...
Make OneShotObserverList immediate
Fixes: ticket:3470
2020-10-15 17:37:31 -04:00
Jean-Paul Calderone
733d393a07
Merge pull request #840 from tahoe-lafs/3454.unskip-test_python3
...
Unskip the Python 3 porting test on Python 2
Fixes: ticket:3454
2020-10-15 17:32:59 -04:00
3dae92567e
update upload process
2020-10-15 15:02:50 -06:00
e549eec5cc
whitespace
2020-10-15 14:57:55 -06:00
b66f7f13a9
remove obsolete document
2020-10-15 14:57:08 -06:00
83f191957a
release process
2020-10-15 14:56:55 -06:00
bd5887d409
news
2020-10-15 14:56:44 -06:00
525f2201c6
Do not install vcpython27 during Windows CI steps
...
With zfec 1.5.4, wheel packages for Windows is available now.
Installing a compiler is no longer necessary.
2020-10-15 14:17:53 -04:00