Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_default_placeholder_bool (0.21 sec)

  1. tests/test_datastructures.py

    def test_default_placeholder_equals():
        placeholder_1 = Default("a")
        placeholder_2 = Default("a")
        assert placeholder_1 == placeholder_2
        assert placeholder_1.value == placeholder_2.value
    
    
    def test_default_placeholder_bool():
        placeholder_a = Default("a")
        placeholder_b = Default("")
        assert placeholder_a
        assert not placeholder_b
    
    
    def test_upload_file_is_closed(tmp_path: Path):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top