Avoid use of breezy-debian.

This commit is contained in:
Jelmer Vernooij 2021-02-10 01:54:29 +00:00
parent dc29ed8b1d
commit 3fe7cb2a7e
No known key found for this signature in database
GPG key ID: 579C160D4C9E23E8
6 changed files with 55 additions and 31 deletions

View file

@ -16,9 +16,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import datetime
from ..debian.build import add_dummy_changelog_entry
from ..debian.build import add_dummy_changelog_entry, get_build_architecture
from breezy.tests import TestCaseWithTransport
from breezy.tests import TestCaseWithTransport, TestCase
class AddDummyChangelogEntryTests(TestCaseWithTransport):
@ -105,4 +105,12 @@ janitor (0.1-1jan+some1) UNRELEASED; urgency=medium
* Initial release. (Closes: #XXXXXX)
-- Jelmer Vernooij <jelmer@debian.org> Sat, 04 Apr 2020 14:12:13 +0000
""", 'debian/changelog')
""",
"debian/changelog",
)
class BuildArchitectureTests(TestCase):
def test_is_str(self):
self.assertIsInstance(get_build_architecture(), str)