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/issue51.py') diff --git a/tests/regress/issue51.py b/tests/regress/issue51.py index 75803ed..9849dbc 100755 --- a/tests/regress/issue51.py +++ b/tests/regress/issue51.py @@ -6,7 +6,7 @@ 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") a1.write(data_files=["foo"]) os.rename("a_1.0_all.opk", "a_with_foo.opk") @@ -17,7 +17,7 @@ opkgcl.install("a_with_foo.opk") open("bar", "w").close() o = opk.OpkGroup() -a2 = opk.Opk(Package="a", Version="1.0", Architecture="all") +a2 = opk.Opk(Package="a") a2.write(data_files=["foo", "bar"]) o.opk_list.append(a2) o.write_list() @@ -49,7 +49,7 @@ if os.path.exists(foo_fullpath) or os.path.exists(bar_fullpath): # ---- o = opk.OpkGroup() -a2 = opk.Opk(Package="a", Version="1.0", Architecture="all") +a2 = opk.Opk(Package="a") a2.write() o.opk_list.append(a2) o.write_list() -- cgit v0.9.1