Esempio n. 1
0
    def test_bugzilla_1047794(self):
        """@Test: Check if SmartClass Paramter Info generates an error

        @Feature: SmartClass Paramter - Info

        @Assert: SmartClass Paramter Info does not generate an error

        """
        self.run_puppet_module()
        SmartClassParameter.list()
Esempio n. 2
0
    def test_positive_list(self):
        """@Test: Check if SmartClass Paramter ``list`` generates an error

        @Feature: SmartClass Paramter

        @Assert: SmartClass Paramter ``list`` does not generate an error

        """
        self.run_puppet_module()
        SmartClassParameter.list()
Esempio n. 3
0
    def test_positive_list(self):
        """Check if SmartClass Paramter ``list`` generates an error

        @id: a88c2e01-ce5c-4179-9ac1-1acf61a41443

        @Assert: SmartClass Paramter ``list`` does not generate an error

        """
        self.run_puppet_module()
        SmartClassParameter.list()
Esempio n. 4
0
    def test_positive_list(self):
        """Check if SmartClass Paramter ``list`` generates an error

        @Feature: SmartClass Paramter

        @Assert: SmartClass Paramter ``list`` does not generate an error

        """
        self.run_puppet_module()
        SmartClassParameter.list()
Esempio n. 5
0
    def test_bugzilla_1047794(self):
        """
        @Test: Check if SmartClass Paramter Info generates an error
        @Feature: SmartClass Paramter - Info
        @Assert: SmartClass Paramter Info does not generate an error
        @BZ: 1047794
        """

        self.run_puppet_module()
        result = SmartClassParameter().list()
        self.assertEqual(result.return_code, 0,
                         "Command should have succeeded")
        self.assertEqual(len(result.stderr), 0,
                         "Should not have raised an error")