mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-03 00:00:55 +00:00
Use docstrings
This commit is contained in:
parent
c14197e1bc
commit
fe07ab39da
@ -1,4 +1,6 @@
|
|||||||
# Tests for code in allmydata.web.status
|
"""
|
||||||
|
Tests for ```allmydata.web.status```.
|
||||||
|
"""
|
||||||
|
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from twisted.web.template import flattenString
|
from twisted.web.template import flattenString
|
||||||
@ -62,8 +64,10 @@ class FakeDownloadStatus(DownloadStatus):
|
|||||||
self.timings)
|
self.timings)
|
||||||
|
|
||||||
|
|
||||||
# Tests for code in allmydata.web.status.DownloadStatusElement
|
|
||||||
class DownloadStatusElementTests(TrialTestCase):
|
class DownloadStatusElementTests(TrialTestCase):
|
||||||
|
"""
|
||||||
|
Tests for ```allmydata.web.status.DownloadStatusElement```.
|
||||||
|
"""
|
||||||
|
|
||||||
def _render_download_status_element(self, status):
|
def _render_download_status_element(self, status):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user