def METHOD_NAME(self):
    content = 'file 2'
    rq = requests.post(
        f'{url}/api/filesystem/write/{self.path("2")}?encoding=utf-8',
        data=content
    )
    assert rq.status_code == 200
    with open(self.path('2')) as tmp2:
        assert tmp2.read() == content