Create app.py
Browse files1234567891011121314151617181920212223242526# bucket_test.pyimport os
TEST_PATH = "/data/test_raw.dat"CONTENT = b"\x00\x01\x02\x03\xff\xfe\xfd\xfc hello bucket"
# Writewith open(TEST_PATH, "wb") as f: f.write(CONTENT)print(f"Written {len(CONTENT)} bytes to {TEST_PATH}")
# Read backwith open(TEST_PATH, "rb") as f: result = f.read()
if result == CONTENT: print("PASS — bytes match exactly")else: print("FAIL — bytes differ") print(f"Expected: {CONTENT}") print(f"Got: {result}")
# List /dataprint("\n/data contents:")for f in os.listdir("/data"): print(f" - {f}")app.pyAdded+26