#84 Fix the test for that we're now forcing the git tag
Merged 4 years ago by nphilipp. Opened 4 years ago by pingou.
fedora-infra/ pingou/rpmautospec fix_tests  into  master

@@ -187,7 +187,9 @@ 

                  for partname in ("name", "epoch", "version", "release")

              )

              tag = f"build/{nevr}"

-             run_command.assert_called_once_with(["git", "tag", tag, commit], cwd=repopath)

+             run_command.assert_called_once_with(

+                 ["git", "tag", "--force", tag, commit], cwd=repopath

+             )

  

              if "tagcmdfails" in phenomena:

                  assert "lp0 is on fire" in caplog.text

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

rebased onto d2b276e

4 years ago

Build succeeded.

Metadata Update from @nphilipp:
- Request assigned

4 years ago

Pull-Request has been merged by nphilipp

4 years ago