Просмотр исходного кода

Add new test modules to test suite configuration

Jelmer Vernooij 6 дней назад
Родитель
Сommit
638ee029f3
1 измененных файлов с 8 добавлено и 2 удалено
  1. 8 2
      tests/__init__.py

+ 8 - 2
tests/__init__.py

@@ -123,6 +123,8 @@ class BlackboxTestCase(TestCase):
 
 
 def self_test_suite() -> unittest.TestSuite:
 def self_test_suite() -> unittest.TestSuite:
     names = [
     names = [
+        "__init__",
+        "__main__",
         "aiohttp",
         "aiohttp",
         "annotate",
         "annotate",
         "approxidate",
         "approxidate",
@@ -164,10 +166,11 @@ def self_test_suite() -> unittest.TestSuite:
         "midx",
         "midx",
         "missing_obj_finder",
         "missing_obj_finder",
         "notes",
         "notes",
-        "objects",
-        "objectspec",
         "object_filters",
         "object_filters",
+        "object_format",
         "object_store",
         "object_store",
+        "objects",
+        "objectspec",
         "pack",
         "pack",
         "patch",
         "patch",
         "protocol",
         "protocol",
@@ -212,6 +215,9 @@ def self_test_suite() -> unittest.TestSuite:
         "merge",
         "merge",
         "notes",
         "notes",
         "rebase",
         "rebase",
+        "submodule",
+        "tag",
+        "worktree",
     ]
     ]
     module_names += ["tests.porcelain"] + [
     module_names += ["tests.porcelain"] + [
         "tests.porcelain.test_" + name for name in porcelain_names
         "tests.porcelain.test_" + name for name in porcelain_names