From c08d3873c361e926eb69645a18a2ba82e6e29015 Mon Sep 17 00:00:00 2001 From: graham.gower@gmail.com Date: Sun, 23 Oct 2011 19:42:50 -0400 Subject: 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 --- (limited to 'tests/regress/issue50.py') 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) -- cgit v0.9.1