summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/util.py b/test/util.py
index ef68ca9..f47d215 100644
--- a/test/util.py
+++ b/test/util.py
@@ -16,6 +16,9 @@ class File():
self.content = content
self.perm = perm
+ def __repr__(self):
+ return "<file:{} {}-bytes>".format(self.path, self.size)
+
def __str__(self):
return self.path