Example #1
0
    def setUpClass(cls):  # noqa
        """Create a shared organization for all tests to avoid generating
        hundreds of organizations

        """
        CLITestCase.setUpClass()
        cls.org = make_org(cached=True)
Example #2
0
    def setUpClass(cls):  # noqa
        """Create a shared organization for all tests to avoid generating
        hundreds of organizations

        """
        CLITestCase.setUpClass()
        cls.org = make_org(cached=True)
Example #3
0
 def setUpClass(cls):
     """
     Create a shared organization for all tests to avoid generating hundreds
     of organizations
     """
     CLITestCase.setUpClass()
     cls.org = cls.create_org()
Example #4
0
    def setUpClass(cls):  # noqa
        """Create a shared organization for all tests to avoid generating
        hundreds of organizations

        """
        CLITestCase.setUpClass()
        # pylint: disable=unexpected-keyword-arg
        cls.org = make_org(cached=True)
 def setUpClass(cls):
     CLITestCase.setUpClass()
     cls.compute_res_updates = make_compute_resource({
         'provider': FOREMAN_PROVIDERS['libvirt'],
         'url': "qemu+tcp://%s:16509/system" %
         conf.properties['main.server.hostname']})['name']