Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_invalid_data (0.08 sec)

  1. tests/test_forms_single_model.py

        assert response.json() == {
            "username": "Rick",
            "lastname": "Sanchez",
            "age": None,
            "tags": ["foo", "bar"],
            "with": "nothing",
        }
    
    
    def test_invalid_data():
        response = client.post(
            "/form/",
            data={
                "username": "Rick",
                "lastname": "Sanchez",
                "age": "seventy",
                "tags": ["plumbus", "citadel"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:51:00 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top