From 02d712781bac7e3d2ff1886f6f8492ea7294dfb4 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Feb 10 2021 05:01:21 +0000 Subject: all branches start with a c\d+, sig branches have sig- in them --- diff --git a/tests/test_distgit.py b/tests/test_distgit.py index 4081522..1b921c8 100644 --- a/tests/test_distgit.py +++ b/tests/test_distgit.py @@ -1,6 +1,6 @@ import unittest -from mixins import CatchWarningsMixin +from .mixins import CatchWarningsMixin from centpkg import DistGitDirectory class TestDistGitNothing(unittest.TestCase): @@ -17,7 +17,7 @@ class TestDistGitInvalid(unittest.TestCase): class TestDistgitOnlySig(unittest.TestCase): def setUp(self): - self.branchstring = 'sig-cloud7' + self.branchstring = 'c7-sig-cloud' self.d = DistGitDirectory(self.branchstring) def test_signame_gets_set(self): @@ -37,7 +37,7 @@ class TestDistgitOnlySig(unittest.TestCase): class TestDistgitSigAndCommon(unittest.TestCase): def setUp(self): - self.branchstring = 'sig-cloud7-common' + self.branchstring = 'c7-sig-cloud-common' self.d = DistGitDirectory(self.branchstring) def test_signame_gets_set(self): @@ -57,7 +57,7 @@ class TestDistgitSigAndCommon(unittest.TestCase): class TestDistgitSigAndProject(unittest.TestCase): def setUp(self): - self.branchstring = 'sig-cloud7-openstack' + self.branchstring = 'c7-sig-cloud-openstack' self.d = DistGitDirectory(self.branchstring) def test_signame_gets_set(self): @@ -77,7 +77,7 @@ class TestDistgitSigAndProject(unittest.TestCase): class TestDistgitSigProjectAndCommon(unittest.TestCase): def setUp(self): - self.branchstring = 'sig-cloud7-openstack-common' + self.branchstring = 'c7-sig-cloud-openstack-common' self.d = DistGitDirectory(self.branchstring) def test_signame_gets_set(self): @@ -97,7 +97,7 @@ class TestDistgitSigProjectAndCommon(unittest.TestCase): class TestDistgitSigProjectAndRelease(unittest.TestCase): def setUp(self): - self.branchstring = 'sig-cloud7-openstack-kilo' + self.branchstring = 'c7-sig-cloud-openstack-kilo' self.d = DistGitDirectory(self.branchstring) def test_signame_gets_set(self):