diff options
author | graham.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) |
commit | c08d3873c361e926eb69645a18a2ba82e6e29015 (patch) | |
tree | 644f00ecead2d25606fe793adb5ccbc14715c823 /tests/regress/issue50.py | |
parent | c0c5f116ac39a3bc0cbec6ca55c0359062ad0d8f (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-x | tests/regress/issue50.py | 6 |
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) |