mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
8e0dd0d870
* testenv/conf/{__init__,authentication,files_crawled, hook_sample,reject_header,server_files}.py: Aesthetic changes to meet Python PEP8 guidelines * testenv/exc/{server_error,test_failed}.py: Same * testenv/misc/{colour_terminal,wget_file}.py: Same * testenv/server/http/http_server.py: Same * testenv/test/base_test.py: Same
17 lines
325 B
Python
17 lines
325 B
Python
|
|
class WgetFile:
|
|
|
|
""" WgetFile is a File Data Container object """
|
|
|
|
def __init__(
|
|
self,
|
|
name,
|
|
content="Test Contents",
|
|
timestamp=None,
|
|
rules=None
|
|
):
|
|
self.name = name
|
|
self.content = content
|
|
self.timestamp = timestamp
|
|
self.rules = rules or {}
|