Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_root_file_path (0.18 sec)

  1. tests/test_tutorial/test_path_params/test_tutorial004.py

        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_path": "home/johndoe/myfile.txt"}
    
    
    def test_root_file_path():
        response = client.get("/files//home/johndoe/myfile.txt")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == {"file_path": "/home/johndoe/myfile.txt"}
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top