The test9.yml file is no longer used in any test. By that, drop it.
While doing so, renumber the higher-numbered tests.
tests/test_refspec.py | 4 ++--
tests/test_refspec/test10.yml | 9 ++++-----
tests/test_refspec/test11.yml | 10 ----------
tests/test_refspec/test9.yml | 9 +++++----
4 files changed, 11 insertions(+), 21 deletions(-)
delete mode 100644 tests/test_refspec/test11.yml
diff --git a/tests/test_refspec.py b/tests/test_refspec.py
index f8183c142..18c1b4393 100644
--- a/tests/test_refspec.py
+++ b/tests/test_refspec.py
@@ -225,7 +225,7 @@ def test_branch_and_tag(monkeykas, tmpdir):
shutil.copytree('tests/test_refspec', tdir)
monkeykas.chdir(tdir)
with pytest.raises(RepoRefError):
- kas.kas(['checkout', 'test10.yml'])
+ kas.kas(['checkout', 'test9.yml'])
with pytest.raises(RepoRefError):
- kas.kas(['checkout', 'test11.yml'])
+ kas.kas(['checkout', 'test10.yml'])
diff --git a/tests/test_refspec/test10.yml b/tests/test_refspec/test10.yml
index 1e59321cc..71cf5a89f 100644
--- a/tests/test_refspec/test10.yml
+++ b/tests/test_refspec/test10.yml
@@ -4,8 +4,7 @@ header:
repos:
this:
- evolve:
- url:
https://repo.mercurial-scm.org/evolve/
- type: hg
- branch: stable
- commit: '6634:991cbf0f66f2'
+ kas:
+ url:
https://github.com/siemens/kas.git
+ tag: 3.0.1
+ branch: master
diff --git a/tests/test_refspec/test11.yml b/tests/test_refspec/test11.yml
deleted file mode 100644
index 71cf5a89f..000000000
--- a/tests/test_refspec/test11.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-header:
- version: 15
-
-repos:
- this:
-
- kas:
- url:
https://github.com/siemens/kas.git
- tag: 3.0.1
- branch: master
diff --git a/tests/test_refspec/test9.yml b/tests/test_refspec/test9.yml
index a7213ed95..1e59321cc 100644
--- a/tests/test_refspec/test9.yml
+++ b/tests/test_refspec/test9.yml
@@ -4,7 +4,8 @@ header:
repos:
this:
+ evolve:
+ url:
https://repo.mercurial-scm.org/evolve/
+ type: hg
+ branch: stable
+ commit: '6634:991cbf0f66f2'
--
2.39.2