Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

main_test.go 444B

1234567891011121314151617181920
  1. // Copyright 2020 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package system_test
  4. import (
  5. "path/filepath"
  6. "testing"
  7. "code.gitea.io/gitea/models/unittest"
  8. _ "code.gitea.io/gitea/models" // register models
  9. _ "code.gitea.io/gitea/models/system" // register models of system
  10. )
  11. func TestMain(m *testing.M) {
  12. unittest.MainTest(m, &unittest.TestOptions{
  13. GiteaRootPath: filepath.Join("..", ".."),
  14. })
  15. }