Browse Source

Update test module lists to include all test files

- Add missing test modules to tests/__init__.py: annotate, cli_cherry_pick, dumb, gc, notes, porcelain_cherry_pick, porcelain_notes, rebase, sparse_patterns, submodule
- Add missing test modules to tests/compat/__init__.py: check_ignore, dumb, index
- Ensure all test files in tests/ and tests/compat/ directories are properly included in their respective __init__.py files
Jelmer Vernooij 1 month ago
parent
commit
ef9bdff761
2 changed files with 12 additions and 1 deletions
  1. 9 1
      tests/__init__.py
  2. 3 0
      tests/compat/__init__.py

+ 9 - 1
tests/__init__.py

@@ -115,10 +115,12 @@ class BlackboxTestCase(TestCase):
 
 def self_test_suite():
     names = [
+        "annotate",
         "archive",
         "blackbox",
         "bundle",
         "cli",
+        "cli_cherry_pick",
         "cli_merge",
         "client",
         "cloud_gcs",
@@ -126,8 +128,10 @@ def self_test_suite():
         "config",
         "credentials",
         "diff_tree",
+        "dumb",
         "fastexport",
         "file",
+        "gc",
         "grafts",
         "graph",
         "greenthreads",
@@ -140,15 +144,19 @@ def self_test_suite():
         "lru_cache",
         "mailmap",
         "merge",
+        "missing_obj_finder",
+        "notes",
         "objects",
         "objectspec",
         "object_store",
-        "missing_obj_finder",
         "pack",
         "patch",
         "porcelain",
+        "porcelain_cherry_pick",
         "porcelain_merge",
+        "porcelain_notes",
         "protocol",
+        "rebase",
         "reflog",
         "refs",
         "repository",

+ 3 - 0
tests/compat/__init__.py

@@ -26,8 +26,11 @@ import unittest
 
 def test_suite():
     names = [
+        "check_ignore",
         "client",
         "commit_graph",
+        "dumb",
+        "index",
         "pack",
         "patch",
         "porcelain",