~mvo/software-center/refactor

« back to all changes in this revision

Viewing changes to test/test_gui_buy_something.py

  • Committer: Michael Vogt
  • Date: 2011-05-16 08:42:21 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110516084221-p3gzilpyoxz2ip2d
test/test_gui_buy_something.py: point s-c-agent to "natty" to ensure hellox is available

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
class SCBuySomething(unittest.TestCase):
33
33
    
34
34
    def setUp(self):
 
35
        # ensure we get something from s-c-agent
 
36
        os.environ["SOFTWARE_CENTER_DISTRO_CODENAME"] = "natty"
 
37
 
35
38
        if os.getuid() == 0:
36
39
            p = "/etc/apt/sources.list.d/private-ppa.launchpad.net_mvo_private-test_ubuntu.list"
37
40
            if os.path.exists(p):