make sure the right target gets set if common is specified at the release level

This commit is contained in:
Brian Stinson 2015-07-19 21:41:23 -05:00
parent 3a7531d874
commit f7e2afbdd8

View file

@ -66,6 +66,9 @@ class TestDistgitSigAndProject(unittest.TestCase):
def test_releasename_gets_set(self):
self.assertEqual(self.d.releasename, None)
def test_target_gets_set(self):
self.assertEqual(self.d.target, 'cloud7-openstack-common-el7')
class TestDistgitSigProjectAndCommon(unittest.TestCase):
def setUp(self):
self.branchstring = 'sig-cloud7-openstack-common'