summaryrefslogtreecommitdiff
path: root/fs/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'fs/tests/__init__.py')
-rw-r--r--fs/tests/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/tests/__init__.py b/fs/tests/__init__.py
index aac08ce..9fd3cda 100644
--- a/fs/tests/__init__.py
+++ b/fs/tests/__init__.py
@@ -152,6 +152,8 @@ class FSTestCases(object):
b("to you, good sir!")), chunk_size=2)
self.assertEquals(self.fs.getcontents(
"hello", "rb"), b("to you, good sir!"))
+ self.fs.setcontents("hello", "", "wb")
+ self.assertEquals(self.fs.getcontents("hello", "rb"), "")
def test_setcontents_async(self):
# setcontents() should accept both a string...