mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 21:28:42 +02:00
Use alternative project if specified in parse_repoarchdescr()
This commit is contained in:
@@ -36,6 +36,10 @@ class TestGitStore(unittest.TestCase):
|
||||
store = GitStore(self.tmpdir)
|
||||
self.assertEqual(store.last_buildroot, ("repo", "arch", "vm_type"))
|
||||
|
||||
def test_scmurl(self):
|
||||
store = GitStore(self.tmpdir)
|
||||
self.assertEqual(store.scmurl, "https://example.com/packages/my-package.git")
|
||||
|
||||
|
||||
if not shutil.which("git"):
|
||||
TestGitStore = unittest.skip("The 'git' executable is not available")(TestGitStore)
|
||||
|
Reference in New Issue
Block a user