Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for testDomain (0.06 sec)

  1. docs/en/docs/advanced/settings.md

    ### Settings and testing { #settings-and-testing }
    
    Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`:
    
    {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *}
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/settings.md

    ### Configurações e testes
    
    Então seria muito fácil fornecer uma configuração diferente durante a execução dos testes sobrescrevendo a dependência de `get_settings`:
    
    {* ../../docs_src/settings/app02/test_main.py hl[9:10,13,21] *}
    
    Na sobrescrita da dependência, definimos um novo valor para `admin_email` quando instanciamos um novo objeto `Settings`, e então retornamos esse novo objeto.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // TestMain to set up global env.
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	// set to 'true' when testing is invoked
    	globalIsTesting = true
    
    	globalIsCICD = globalIsTesting
    
    	globalActiveCred = auth.Credentials{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  4. api/go1.4.txt

    pkg syscall (windows-amd64), func FullPath(string) (string, error)
    
    # CL 98150043 testing: add Coverage function, Russ Cox <******@****.***>
    pkg testing, func Coverage() float64
    
    # CL 148770043 cmd/go, testing: add TestMain support, Russ Cox <******@****.***>
    pkg testing, func MainStart(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample) *M
    pkg testing, method (*M) Run() int
    pkg testing, type M struct
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    ### Internal
    
    * ✅ Fix a minor bug in the test `tests/test_modules_same_name_body/test_main.py`. PR [#13411](https://github.com/fastapi/fastapi/pull/13411) by [@alv2017](https://github.com/alv2017).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top