- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for test_update (0.09 sec)
-
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py
@pytest.fixture(name="client") def get_client(): from docs_src.additional_status_codes.tutorial001_an_py310 import app client = TestClient(app) return client @needs_py310 def test_update(client: TestClient): response = client.put("/items/foo", json={"name": "Wrestlers"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Wrestlers", "size": None}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 741 bytes - Viewed (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py
@pytest.fixture(name="client") def get_client(): from docs_src.additional_status_codes.tutorial001_an_py39 import app client = TestClient(app) return client @needs_py39 def test_update(client: TestClient): response = client.put("/items/foo", json={"name": "Wrestlers"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Wrestlers", "size": None}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 737 bytes - Viewed (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py
@pytest.fixture(name="client") def get_client(): from docs_src.additional_status_codes.tutorial001_py310 import app client = TestClient(app) return client @needs_py310 def test_update(client: TestClient): response = client.put("/items/foo", json={"name": "Wrestlers"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Wrestlers", "size": None}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 738 bytes - Viewed (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.additional_status_codes.tutorial001 import app client = TestClient(app) def test_update(): response = client.put("/items/foo", json={"name": "Wrestlers"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Wrestlers", "size": None} def test_create(): response = client.put("/items/red", json={"name": "Chillies"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 546 bytes - Viewed (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py
from fastapi.testclient import TestClient from docs_src.additional_status_codes.tutorial001_an import app client = TestClient(app) def test_update(): response = client.put("/items/foo", json={"name": "Wrestlers"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Wrestlers", "size": None} def test_create(): response = client.put("/items/red", json={"name": "Chillies"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 549 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
assertEquals("seg5", itemList3.get(4).getSegmentation()); assertEquals("reading5", itemList3.get(4).getReading()); assertEquals("pos5", itemList3.get(4).getPos()); } public void test_update() { final KuromojiFile kuromojiFile = new KuromojiFile(file1); final PagingList<KuromojiItem> itemList1 = kuromojiFile.selectList(0, 20); assertEquals(3, itemList1.size());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
assertEquals("z2", itemList3.get(6).getInputs()[1]); assertEquals("z1", itemList3.get(6).getOutputs()[0]); assertEquals("z2", itemList3.get(6).getOutputs()[1]); } public void test_update() { final SynonymFile synonymFile = new SynonymFile(file1); final PagingList<SynonymItem> itemList1 = synonymFile.selectList(0, 20); assertEquals(5, itemList1.size());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SearchListTests.java
final Map<String, Object> updateMap = new HashMap<>(); // updateMap.put("click_count", 100); return updateMap; } @Override protected void testUpdate() { // Test: update settings api final Map<String, Object> updateMap = getUpdateMap(); final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.5K bytes - Viewed (0) -
clause/update_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestUpdate(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Update{}}, "UPDATE `users`", nil, }, { []clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `users`", nil, }, {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 722 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/DataConfigTests.java
updateMap.put("handler_name", "CsvDataStore"); return updateMap; } @Test void crudTest() { testCreate(); testRead(); testUpdate(); testDelete(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0)