summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Jia <mjia@redhat.com>2014-06-05 15:55:41 +1000
committerGerrit Code Review <gerrit@beaker-project.org>2014-06-11 03:00:40 +0000
commitff05e5a18349551ab963182730be120f7c747af5 (patch)
treecd983bc7d286394a1beecef54aa4acd3682af55a
parent525ef3e29d83dd2dcdba24facd0669826ae49912 (diff)
beaker-wizard: add aarch64 into architectures list
-rw-r--r--Client/src/bkr/client/tests/test_wizard.py11
-rwxr-xr-xClient/src/bkr/client/wizard.py2
2 files changed, 12 insertions, 1 deletions
diff --git a/Client/src/bkr/client/tests/test_wizard.py b/Client/src/bkr/client/tests/test_wizard.py
index 23ac2d0..b791efd 100644
--- a/Client/src/bkr/client/tests/test_wizard.py
+++ b/Client/src/bkr/client/tests/test_wizard.py
@@ -69,3 +69,14 @@ class LicenseTests(unittest.TestCase):
self.license.data = "GPLvX"
includes = (EXPECTED_OTHER_HEADER, "This is GPLvX license text.")
self.check_license_text(includes, ())
+
+
+class ArchitecturesTest(unittest.TestCase):
+
+ def setUp(self):
+ self.options = wizard.Options([], load_user_prefs=False)
+ self.archs = wizard.Architectures(self.options)
+
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1095079
+ def test_contain_aarch64(self):
+ self.assertIn('aarch64', self.archs.list)
diff --git a/Client/src/bkr/client/wizard.py b/Client/src/bkr/client/wizard.py
index f5bf3b3..61407dc 100755
--- a/Client/src/bkr/client/wizard.py
+++ b/Client/src/bkr/client/wizard.py
@@ -1627,7 +1627,7 @@ class Architectures(MultipleChoice):
self.question = "Architectures (choose one or more or \"all\")"
self.description = "You can supply more values separated with space or comma\n"\
"but they all must be from the list of possible values above."
- self.list = "i386 x86_64 ia64 ppc ppc64 s390 s390x".split()
+ self.list = "i386 x86_64 ia64 ppc ppc64 s390 s390x aarch64".split()
self.sort = True
self.common = False
self.emptyListMeaning = "All"