Explorar el Código

webdav tests: fix: write content specified instead hardcoded value

Bastien Sevajol (Algoo) hace 8 años
padre
commit
9138412be3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tracim/tracim/tests/library/test_webdav.py

+ 1 - 1
tracim/tracim/tests/library/test_webdav.py Ver fichero

@@ -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