コード例 #1
0
ファイル: test_gpgkey.py プロジェクト: oshtaier/robottelo
    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)
コード例 #2
0
ファイル: test_gpgkey.py プロジェクト: cswiii/robottelo
    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)
コード例 #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()
コード例 #4
0
ファイル: test_gpgkey.py プロジェクト: lpramuk/robottelo
    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)
コード例 #5
0
 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']