Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_duplicates (0.13 sec)

  1. tests/test_dependency_duplicates.py

            json={"item": {"data": "myitem"}, "item2": {"data": "myitem2"}},
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"data": "myitem"}, {"data": "myitem2"}]
    
    
    def test_duplicates():
        response = client.post("/with-duplicates", json={"data": "myitem"})
        assert response.status_code == 200, response.text
        assert response.json() == [{"data": "myitem"}, {"data": "myitem"}]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validateRaw("duplicate-plugin.xml");
    
            assertViolations(result, 0, 4, 0);
    
            assertTrue(result.getErrors().get(0).contains("duplicate declaration of plugin test:duplicate"));
            assertTrue(result.getErrors().get(1).contains("duplicate declaration of plugin test:managed-duplicate"));
            assertTrue(result.getErrors().get(2).contains("duplicate declaration of plugin profile:duplicate"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top