1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
wget/testenv/misc/wget_file.py

17 lines
325 B
Python
Raw Permalink Normal View History

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 {}