mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
Clarify intention of a test case
This commit is contained in:
parent
6a2ce9efc6
commit
e48d930621
@ -1048,9 +1048,14 @@ class Web(WebMixin, WebErrorMixin, testutil.StallMixin, testutil.ReallyEqualMixi
|
||||
"/status/nodash")
|
||||
|
||||
def test_status_path_404(self):
|
||||
# The test suite (hopefully!) would not have done any setup
|
||||
# for a very large number of statuses at this point, so these
|
||||
# all should return 404.
|
||||
"""
|
||||
Looking for non-existent statuses under child paths should
|
||||
exercises all the iterators in web.status.Status.getChild().
|
||||
|
||||
The test suite (hopefully!) would not have done any setup for
|
||||
a very large number of statuses at this point, now or in the
|
||||
future, so these all should always return 404.
|
||||
"""
|
||||
d = self.GET("/status/up-9999999")
|
||||
d.addBoth(self.should404, "test_status_path_error (up)")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user