summaryrefslogtreecommitdiffstats
path: root/tests/regress/issue50.py
diff options
context:
space:
mode:
authorgraham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-23 19:42:50 (EDT)
committer graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2011-10-23 19:42:50 (EDT)
commitc08d3873c361e926eb69645a18a2ba82e6e29015 (patch)
tree644f00ecead2d25606fe793adb5ccbc14715c823 /tests/regress/issue50.py
parentc0c5f116ac39a3bc0cbec6ca55c0359062ad0d8f (diff)
Use a default Version and Architecture in the event that none is specified.
git-svn-id: http://opkg.googlecode.com/svn/trunk@632 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'tests/regress/issue50.py')
-rwxr-xr-xtests/regress/issue50.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regress/issue50.py b/tests/regress/issue50.py
index a4a18cc..19897b4 100755
--- a/tests/regress/issue50.py
+++ b/tests/regress/issue50.py
@@ -6,15 +6,15 @@ import opk, cfg, opkgcl
opk.regress_init()
open("foo", "w").close()
-a1 = opk.Opk(Package="a", Version="1.0", Architecture="all")
+a1 = opk.Opk(Package="a", Version="1.0")
a1.write(data_files=["foo"])
opkgcl.install("a_1.0_all.opk")
o = opk.OpkGroup()
-a2 = opk.Opk(Package="a", Version="2.0", Architecture="all", Depends="b")
+a2 = opk.Opk(Package="a", Version="2.0", Depends="b")
a2.write()
-b1 = opk.Opk(Package="b", Version="1.0", Architecture="all")
+b1 = opk.Opk(Package="b", Version="1.0")
b1.write(data_files=["foo"])
o.opk_list.append(a2)
o.opk_list.append(b1)