Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bla (0.04 sec)

  1. tests/test_jsonable_encoder.py

        }
        assert jsonable_encoder(model, include={"foo"}) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude={"bla"}) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, include={}) == {}
        assert jsonable_encoder(model, exclude={}) == {
            "foo": "foo",
            "bar": "bar",
            "bla": "bla",
        }
    
    
    @needs_pydanticv1
    def test_custom_encoders():
        class safe_datetime(datetime):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. internal/config/dns/etcd_dns_test.go

    package dns
    
    import "testing"
    
    func TestDNSJoin(t *testing.T) {
    	tests := []struct {
    		in  []string
    		out string
    	}{
    		{[]string{"bla", "bliep", "example", "org"}, "bla.bliep.example.org."},
    		{[]string{"example", "."}, "example."},
    		{[]string{"example", "org."}, "example.org."}, // technically we should not be called like this.
    		{[]string{"."}, "."},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top