fixing bugs
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This is a test file content
|
||||
@@ -0,0 +1 @@
|
||||
This is a test file content
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"path_to_id": {},
|
||||
"id_to_path": {},
|
||||
"version": 0
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
This is a test file content
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB |
Executable
+1
@@ -0,0 +1 @@
|
||||
Este es un archivo de prueba para verificar el sistema de archivos de OxiCloud.
|
||||
@@ -0,0 +1 @@
|
||||
This is a test file content
|
||||
@@ -0,0 +1,4 @@
|
||||
Contenido del archivo: Ejercicio de feedback (2).pdf (primeros bytes)%PDF-1.7
|
||||
%����
|
||||
1 0 obj
|
||||
<</Type/Catalog/
|
||||
@@ -0,0 +1,5 @@
|
||||
This is a test file for API integration testing
|
||||
We'll check if the ID mapping system works correctly
|
||||
The file should be retrievable after upload
|
||||
|
||||
--f94da4aac59fe7bd31d67f31deceaa64--
|
||||
@@ -0,0 +1,12 @@
|
||||
# Technical Documentation
|
||||
|
||||
This is a test file to verify file uploading functionality.
|
||||
|
||||
## Features to Test
|
||||
|
||||
1. File upload
|
||||
2. File listing
|
||||
3. File viewing
|
||||
4. File deletion
|
||||
|
||||
The system should handle these operations correctly.
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python3
|
||||
import requests
|
||||
import time
|
||||
|
||||
def test_route(url, method="GET", data=None, files=None):
|
||||
"""Test a route and return the response"""
|
||||
print(f"Testing {method} {url}")
|
||||
try:
|
||||
if method == "GET":
|
||||
response = requests.get(url)
|
||||
elif method == "POST":
|
||||
response = requests.post(url, data=data, files=files)
|
||||
elif method == "PUT":
|
||||
response = requests.put(url, json=data)
|
||||
elif method == "DELETE":
|
||||
response = requests.delete(url)
|
||||
else:
|
||||
@@ -0,0 +1,3 @@
|
||||
This is a test file for upload
|
||||
|
||||
--a6a668da25716f5ceb716848097c8ee1--
|
||||
Reference in New Issue
Block a user