meejah
29563b8f2d
assert proper errors
2020-05-04 21:59:15 -06:00
meejah
f8117320cb
tests which rely on memory-reclamation need gc.collect() on pypy
2020-05-04 21:59:15 -06:00
meejah
8965c77d63
look for correct error-string
2020-05-04 21:59:15 -06:00
meejah
4c3d0ea6cc
use 'with open' for more file-opens
2020-05-04 21:59:15 -06:00
meejah
9bcc465f76
unused import
2020-05-04 21:59:15 -06:00
meejah
4928d62d66
use set instead of WeakKeyDictionary
2020-05-04 21:59:15 -06:00
meejah
d06127c720
news
2020-05-04 21:59:15 -06:00
meejah
5175a6c6a0
asserts for systemexit
2020-05-04 21:59:15 -06:00
meejah
5071ddf124
add more 'with' statements
2020-05-04 21:59:15 -06:00
meejah
a348d3d507
relying on memory/gc bad
2020-05-04 21:59:15 -06:00
meejah
ca5e1ebe52
look at correct mock-call object
2020-05-04 21:59:15 -06:00
meejah
4b0c730adf
use 'with open' correctly
2020-05-04 21:59:15 -06:00
meejah
0a43409adc
Merge pull request #712 from meejah/master
...
news etc from release 1.14.0
2020-05-04 21:46:43 -06:00
meejah
7d0d4c5513
newsfragment
2020-05-04 16:54:43 -06:00
meejah
8645934e87
Merge branch 'release-1.14.0-rc0'
2020-05-04 14:23:53 -06:00
Sajith Sasidharan
e2c6d288bf
Merge pull request #699 from sajith/3294.incident-reporter-to-nevow
...
Remove nevow from allmydata.web.root.IncidentReporter
2020-04-27 10:12:27 -04:00
meejah
4dc3702ead
Merge pull request #672 from meejah/ticket3252-port-web-directory.remaining.1
...
Ticket3252: port web/directory.* from nevow to twisted.web
2020-04-23 13:04:41 -06:00
meejah
c385e958a8
Merge branch 'master' into ticket3252-port-web-directory.remaining.1
2020-04-23 12:24:00 -06:00
Sajith Sasidharan
bd8bf0f91c
Merge branch 'sajith-3254.01-status-nevow-to-twisted-web'
2020-04-21 12:49:42 -04:00
Sajith Sasidharan
225bb5854a
Add empty news fragment re. Statistics page rendering
2020-04-21 11:53:48 -04:00
Sajith Sasidharan
d844a8f89f
Use twisted transparent tag to render data
...
This way the test suite will be happy, and we won't have extraneous
`<div>` tags in the rendered page.
2020-04-21 11:53:48 -04:00
Sajith Sasidharan
a0eb00b2cc
Wrap renderer return values in tags
2020-04-21 11:53:48 -04:00
Sajith Sasidharan
1e3ba25cc3
Add some documentation to Statistics page
2020-04-21 11:53:48 -04:00
Sajith Sasidharan
652b3f5bc0
Use twisted.web.template to render Statistics page
2020-04-21 11:53:48 -04:00
meejah
8df1ed1ba6
link to tickets
2020-04-18 02:49:14 -06:00
meejah
f8a78c996a
URL -> DecodedURL
2020-04-18 02:27:32 -06:00
meejah
73d0151e1b
typo
2020-04-18 01:52:31 -06:00
meejah
349aefeacc
fail() takes a message, not Exception
2020-04-18 01:52:18 -06:00
meejah
018e161f19
don't allow trailing slashes
...
This makes /uri/xxx URIs invalid if they have a trailing slash.
It seems that the former Nevow implementation would allow this, and
some tests (and, notable, "tahoe backup") did rely on using URIs
of this style.
2020-04-18 01:52:18 -06:00
meejah
882c63dab9
methods shouldn't be named like classes
2020-04-18 01:52:18 -06:00
meejah
0acf0d2a7e
no addslash here
2020-04-18 01:52:18 -06:00
meejah
bc2f5f8e88
functions shouldn't be named like classes
2020-04-18 01:52:18 -06:00
meejah
8f35f78194
temporary fix for hypothesis test
2020-04-18 01:52:18 -06:00
meejah
c246b3e049
self.assertEqual not assert
2020-04-18 01:52:18 -06:00
meejah
701915783c
make unpack/pack test use Hypothesis
2020-04-18 01:52:18 -06:00
meejah
6ea6abdb1f
no .format yet
2020-04-18 01:52:18 -06:00
meejah
fc4aec7b77
remove comment
2020-04-18 01:52:18 -06:00
meejah
2e9463bd08
compute 'is this a terminal request' differently
2020-04-18 01:52:18 -06:00
meejah
b0c138f7c0
remove empty segments instead of making multiple URI's valid
2020-04-18 01:52:18 -06:00
meejah
8c47b8e2a1
don't need object
2020-04-18 01:52:18 -06:00
meejah
088fcff442
better formatting
2020-04-18 01:52:18 -06:00
meejah
c6f4f0b7d5
betterize comment
2020-04-18 01:52:18 -06:00
meejah
8db16ff8e3
old-style class
2020-04-18 01:52:18 -06:00
meejah
b64f90bcd4
simplify
2020-04-18 01:52:18 -06:00
meejah
95e5029c34
more comment
2020-04-18 01:52:18 -06:00
meejah
d425baed89
remove irrelevant comment
2020-04-18 01:52:18 -06:00
meejah
3c332fec2a
empty-string, not None
2020-04-18 01:52:18 -06:00
meejah
733b7932ce
clarify further; remove unused user of RenderMixin
2020-04-18 01:52:18 -06:00
meejah
ace99a1724
add clarifying comment
2020-04-18 01:52:18 -06:00
meejah
f9e3fdfaee
use % instead of format
2020-04-18 01:52:18 -06:00