def METHOD_NAME(self):
    self.local_test_files.mkdir()
    content = b"content for the object"
    filename = self.local_test_files.joinpath("test_file")
    with open(filename, "wb") as writer:
        writer.write(content)
    obj = self.bucket.object(OBJ_NAME)
    obj.put_file(filename)
    res = obj.get()
    self.assertEqual(content, res.read_all())