mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
all branches start with a c\d+, sig branches have sig- in them
This commit is contained in:
parent
112caffe19
commit
02d712781b
1 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from mixins import CatchWarningsMixin
|
from .mixins import CatchWarningsMixin
|
||||||
from centpkg import DistGitDirectory
|
from centpkg import DistGitDirectory
|
||||||
|
|
||||||
class TestDistGitNothing(unittest.TestCase):
|
class TestDistGitNothing(unittest.TestCase):
|
||||||
|
@ -17,7 +17,7 @@ class TestDistGitInvalid(unittest.TestCase):
|
||||||
|
|
||||||
class TestDistgitOnlySig(unittest.TestCase):
|
class TestDistgitOnlySig(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.branchstring = 'sig-cloud7'
|
self.branchstring = 'c7-sig-cloud'
|
||||||
self.d = DistGitDirectory(self.branchstring)
|
self.d = DistGitDirectory(self.branchstring)
|
||||||
|
|
||||||
def test_signame_gets_set(self):
|
def test_signame_gets_set(self):
|
||||||
|
@ -37,7 +37,7 @@ class TestDistgitOnlySig(unittest.TestCase):
|
||||||
|
|
||||||
class TestDistgitSigAndCommon(unittest.TestCase):
|
class TestDistgitSigAndCommon(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.branchstring = 'sig-cloud7-common'
|
self.branchstring = 'c7-sig-cloud-common'
|
||||||
self.d = DistGitDirectory(self.branchstring)
|
self.d = DistGitDirectory(self.branchstring)
|
||||||
|
|
||||||
def test_signame_gets_set(self):
|
def test_signame_gets_set(self):
|
||||||
|
@ -57,7 +57,7 @@ class TestDistgitSigAndCommon(unittest.TestCase):
|
||||||
|
|
||||||
class TestDistgitSigAndProject(unittest.TestCase):
|
class TestDistgitSigAndProject(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.branchstring = 'sig-cloud7-openstack'
|
self.branchstring = 'c7-sig-cloud-openstack'
|
||||||
self.d = DistGitDirectory(self.branchstring)
|
self.d = DistGitDirectory(self.branchstring)
|
||||||
|
|
||||||
def test_signame_gets_set(self):
|
def test_signame_gets_set(self):
|
||||||
|
@ -77,7 +77,7 @@ class TestDistgitSigAndProject(unittest.TestCase):
|
||||||
|
|
||||||
class TestDistgitSigProjectAndCommon(unittest.TestCase):
|
class TestDistgitSigProjectAndCommon(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.branchstring = 'sig-cloud7-openstack-common'
|
self.branchstring = 'c7-sig-cloud-openstack-common'
|
||||||
self.d = DistGitDirectory(self.branchstring)
|
self.d = DistGitDirectory(self.branchstring)
|
||||||
|
|
||||||
def test_signame_gets_set(self):
|
def test_signame_gets_set(self):
|
||||||
|
@ -97,7 +97,7 @@ class TestDistgitSigProjectAndCommon(unittest.TestCase):
|
||||||
|
|
||||||
class TestDistgitSigProjectAndRelease(unittest.TestCase):
|
class TestDistgitSigProjectAndRelease(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.branchstring = 'sig-cloud7-openstack-kilo'
|
self.branchstring = 'c7-sig-cloud-openstack-kilo'
|
||||||
self.d = DistGitDirectory(self.branchstring)
|
self.d = DistGitDirectory(self.branchstring)
|
||||||
|
|
||||||
def test_signame_gets_set(self):
|
def test_signame_gets_set(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue