Browse Source

webdav tests: fix: write content specified instead hardcoded value

Bastien Sevajol (Algoo) 7 years ago
parent
commit
9138412be3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/tests/library/test_webdav.py

+ 1 - 1
tracim/tracim/tests/library/test_webdav.py View File

@@ -56,7 +56,7 @@ class TestWebDav(TestStandard):
56 56
         write_object = new_resource.beginWrite(
57 57
             contentType='application/octet-stream',
58 58
         )
59
-        write_object.write(b'hello\n')
59
+        write_object.write(file_content)
60 60
         write_object.close()
61 61
         new_resource.endWrite(withErrors=False)
62 62