Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testname (9.21 sec)

  1. ci/official/utilities/extract_resultstore_links.py

        else:
          case_name = f' Invocation {invocation_id}'
        case_attrib.update({'name': case_name,
                            'status': 'run', 'result': 'completed'})
    
        testcase = ElemTree.SubElement(testsuite, 'testcase', attrib=case_attrib)
        if status in (InvokeStatus.tests_failed, InvokeStatus.build_failed):
          if status == InvokeStatus.tests_failed:
            failure_count += 1
            elem_name = 'failure'
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      for testsuite in r:
        testsuite._elem.set("source_file", source_file)
        # Remove empty testcases
        for p in testsuite._elem.xpath(".//testcase"):
          if not len(p):  # pylint: disable=g-explicit-length-test
            testsuite._elem.remove(p)
        # Change "testsuite > testcase,system-out" to "testsuite > testcase > error"
        for p in testsuite._elem.xpath(".//system-out"):
          for c in p.getparent().xpath(".//error | .//failure"):
    Python
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. tests/test_schema_extra_examples.py

        # @app.post("/form_examples")
        # def form_examples(
        #     lastname: str = Form(
        #         ...,
        #         examples={
        #             "example1": {"summary": "last name summary", "value": "Doe"},
        #             "example2": {"value": "Doesn't"},
        #         },
        #     ),
        # ):
        #     return lastname
    
        # @app.post("/form_example_examples")
        # def form_example_examples(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  4. tests/test_read_with_orm_mode.py

        person_data = {"name": "Dive", "lastname": "Wilson"}
        response = client.post("/people/", json=person_data)
        data = response.json()
        assert response.status_code == 200, response.text
        assert data["name"] == person_data["name"]
        assert data["lastname"] == person_data["lastname"]
        assert data["full_name"] == person_data["name"] + " " + person_data["lastname"]
    
    
    @needs_pydanticv1
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. ci/official/wheel_test/test_import_api_packages.py

    See README.md file for "how to run" instruction.
    """
    
    import logging
    import unittest
    import pkg_resources
    
    logging.basicConfig(level=logging.INFO)
    
    
    class ImportApiPackagesTest(unittest.TestCase):
      """ImportApiPackagesTest class. See description at the top of the file."""
    
      def setUp(self):
        def _get_api_packages_v2():
          api_packages_path = pkg_resources.resource_filename(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 13 15:52:07 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top