Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bla (0.01 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",
        }
    
    
    def test_custom_encoders():
        class safe_datetime(datetime):
            pass
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 28 17:31:12 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top