~ubuntu-branches/ubuntu/quantal/virtinst/quantal-proposed

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Louis Dupond
  • Date: 2010-05-05 03:32:42 UTC
  • mfrom: (1.3.13 sid)
  • Revision ID: james.westby@ubuntu.com-20100505033242-um6f6pjcc89i07m0
Tags: 0.500.3-1ubuntu1
* Merge from debian unstable. (LP: #590068)  Remaining changes:
  - debian/patches/9001_Ubuntu.patch:
     + Added lucid and maverick to OS list and enable virtio for it.
  - debian/patches/0003-Fix-patch-to-keyboard-configuration.patch: disable
    as the keyboard config in Ubuntu is still in /etc/default/console-setup
    and this was causing virt-manager to always default to a en-us
    keyboard. (LP: #524318)
  - debian/control: added acl package to depends. (LP: #533048)
  - Demote virt-viewer to Suggests, as it's in universe.
  - Recommends libvirt-bin (LP: #215084)
* debian/patches/9002-add-ca-keymap.patch: dropped, its now in upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    description = "Test various CLI invocations"
101
101
 
102
102
    user_options = (TestBaseCommand.user_options +
103
 
                    [("prompt", None, "Run interactive CLI invocations.")])
 
103
                    [("prompt", None, "Run interactive CLI invocations."),
 
104
                    ("app=", None, "Only run tests for requested app")])
104
105
 
105
106
    def initialize_options(self):
106
107
        TestBaseCommand.initialize_options(self)
107
108
        self.prompt = 0
 
109
        self.app = None
108
110
 
109
111
    def run(self):
110
112
        cmd = "python tests/clitest.py"
112
114
            cmd += " debug"
113
115
        if self.prompt:
114
116
            cmd += " prompt"
 
117
        if self.app:
 
118
            cmd += " --app %s" % self.app
115
119
        os.system(cmd)
116
120
 
117
121
class TestURLFetch(TestBaseCommand):