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

Reorganize CLI tests into tests/cli/ subdirectory

Jelmer Vernooij 1 неделя назад
Родитель
Сommit
0b4ad37a94
4 измененных файлов с 3 добавлено и 3 удалено
  1. 0 0
      tests/cli/__init__.py
  2. 1 1
      tests/cli/test_cherry_pick.py
  3. 1 1
      tests/cli/test_cli.py
  4. 1 1
      tests/cli/test_merge.py

+ 0 - 0
tests/cli/__init__.py


+ 1 - 1
tests/test_cli_cherry_pick.py → tests/cli/test_cherry_pick.py

@@ -27,7 +27,7 @@ import tempfile
 from dulwich import porcelain
 from dulwich.cli import cmd_cherry_pick
 
-from . import TestCase
+from .. import TestCase
 
 
 class CherryPickCommandTests(TestCase):

+ 1 - 1
tests/test_cli.py → tests/cli/test_cli.py

@@ -47,7 +47,7 @@ from dulwich.tests.utils import (
     build_commit_graph,
 )
 
-from . import TestCase
+from .. import TestCase
 
 
 class DulwichCliTestCase(TestCase):

+ 1 - 1
tests/test_cli_merge.py → tests/cli/test_merge.py

@@ -29,7 +29,7 @@ import unittest
 from dulwich import porcelain
 from dulwich.cli import main
 
-from . import DependencyMissing, TestCase
+from .. import DependencyMissing, TestCase
 
 
 class CLIMergeTests(TestCase):