From f7e2afbdd8a3f3ef4a213187d9ffe7a2fd6ed760 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jul 20 2015 02:41:23 +0000 Subject: make sure the right target gets set if common is specified at the release level --- diff --git a/tests/test_distgit.py b/tests/test_distgit.py index d5e56d2..55bdedb 100644 --- a/tests/test_distgit.py +++ b/tests/test_distgit.py @@ -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'