Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,004 for foob (0.03 sec)

  1. docs_src/app_testing/app_b_an_py39/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            duplicateHostHelper.duplicateHostList = new ArrayList<DuplicateHost>();
    
            DuplicateHost foo = new DuplicateHost();
            foo.setRegularName("www.foo.com");
            foo.setDuplicateHostName("foo.com");
            duplicateHostHelper.duplicateHostList.add(foo);
            DuplicateHost bar = new DuplicateHost();
            bar.setRegularName("www.bar.com");
            bar.setDuplicateHostName("mail.bar.com");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[(bar,1)=b, (foo,1)=a, (foo,3)=c]", table.cellSet().toString());
      }
    
      public void testRowKeySetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[bar, foo]", table.rowKeySet().toString());
      }
    
      public void testValuesToString_ordered() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/server_test.go

    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", V6Name: "foo-v6", Prefix: "foo", Deps: fakeIPSetDeps}
    	m := getFakeDPWithIPSet(server, fakeClientSet, set)
    
    	var podUID string = string(pod.ObjectMeta.UID)
    	ipProto := uint8(unix.IPPROTO_TCP)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v6",
    		netip.MustParseAddr("e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164"),
    		ipProto,
    		podUID,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class)))
            .containsExactly(Foo.class);
      }
    
      public void testFindClassesToTest_publicApiOnly() {
        sanityTests.publicApiOnly();
        assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt

            """.trimIndent(),
          )
        assertThat(verifier.verify("foo.com", session)).isTrue()
        assertThat(verifier.verify("a.foo.com", session)).isFalse()
        assertThat(verifier.verify("foo.com", session)).isTrue()
        assertThat(verifier.verify("a.foo.com", session)).isFalse()
      }
    
      @Test fun verifyMultipleCn() {
        // CN=foo.com, CN=bar.com, CN=&#x82b1;&#x5b50;.co.jp
        val session =
          session(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tests/test_ambiguous_params.py

        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        assertEquals(ImmutableTable.of(), builder.build());
        assertEquals(ImmutableTable.of('a', 1, "foo"), builder.put('a', 1, "foo").build());
        Table<Character, Integer, String> expectedTable = HashBasedTable.create();
        expectedTable.put('a', 1, "foo");
        expectedTable.put('b', 1, "bar");
        expectedTable.put('a', 2, "baz");
        Table<Character, Integer, String> otherTable = HashBasedTable.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. docs_src/app_testing/app_b_an/test_main.py

    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
        response = client.get("/items/foo", headers={"X-Token": "hailhydra"})
        assert response.status_code == 400
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top