From 47c4aa06776a0a34cc40e4ac9700df92b40357af Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jul 20 2015 02:41:48 +0000 Subject: make sure the right target gets set if common is specified at the project level --- diff --git a/tests/test_distgit.py b/tests/test_distgit.py index 55bdedb..0e62f1c 100644 --- a/tests/test_distgit.py +++ b/tests/test_distgit.py @@ -29,6 +29,9 @@ class TestDistgitOnlySig(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-common-el7') + class TestDistgitSigAndCommon(unittest.TestCase): def setUp(self): self.branchstring = 'sig-cloud7-common'