예제 #1
0
def test_invalid_is_response_valid(invalid_request_fixture):
    """Test that method returns False when valid request passed."""
    assert not Server.is_request_valid(invalid_request_fixture)
예제 #2
0
def test_valid_is_request_valid(valid_request_fixture):
    """Test that method returns True when valid request passed."""
    assert Server.is_request_valid(valid_request_fixture)