예제 #1
0
    def test_positive_list_by_product_id(self):
        """List Ostree branches by product id

        @id: e7b9d04d-cace-4271-b166-214017200c53

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'product-id': self.product['id']})
        self.assertGreater(len(result), 0)
예제 #2
0
    def test_positive_list_by_repo_id(self):
        """List Ostree branches by repo id

        @id: 8cf1a973-031c-4c02-af14-0faba22ab60b

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'repository-id': self.ostree_repo['id']})
        self.assertGreater(len(result), 0)
예제 #3
0
    def test_positive_list_by_org_id(self):
        """List Ostree branches by org id

        @id: 5b169619-305f-4934-b363-068193330701

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'organization-id': self.org['id']})
        self.assertGreater(len(result), 0)
예제 #4
0
    def test_positive_list(self):
        """List Ostree Branches

        @id: 0f5e7e63-c0e3-43fc-8238-caf19a478a46

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
예제 #5
0
    def test_positive_list_by_org_id(self):
        """List Ostree branches by org id

        @id: 5b169619-305f-4934-b363-068193330701

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'organization-id': self.org['id']})
        self.assertGreater(len(result), 0)
예제 #6
0
    def test_positive_list_by_cv_id(self):
        """List Ostree branches by cv id

        @id: 3654f107-44ee-4af2-a9e4-f9fd8c68491e

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'content-view-id': self.cv['id']})
        self.assertGreater(len(result), 0)
예제 #7
0
    def test_positive_list_by_repo_id(self):
        """List Ostree branches by repo id

        @id: 8cf1a973-031c-4c02-af14-0faba22ab60b

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'repository-id': self.ostree_repo['id']})
        self.assertGreater(len(result), 0)
예제 #8
0
    def test_positive_list_by_product_id(self):
        """List Ostree branches by product id

        @id: e7b9d04d-cace-4271-b166-214017200c53

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'product-id': self.product['id']})
        self.assertGreater(len(result), 0)
예제 #9
0
    def test_positive_list_by_cv_id(self):
        """List Ostree branches by cv id

        @id: 3654f107-44ee-4af2-a9e4-f9fd8c68491e

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list({'content-view-id': self.cv['id']})
        self.assertGreater(len(result), 0)
예제 #10
0
    def test_positive_list(self):
        """List Ostree Branches

        @id: 0f5e7e63-c0e3-43fc-8238-caf19a478a46

        @Assert: Ostree Branch List is displayed
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
예제 #11
0
    def test_positive_list_by_org_id(self):
        """List Ostree branches by org id

        :id: 5b169619-305f-4934-b363-068193330701

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'organization-id': self.org['id']})
        self.assertGreater(len(result), 0)
예제 #12
0
    def test_positive_list_by_product_id(self):
        """List Ostree branches by product id

        :id: e7b9d04d-cace-4271-b166-214017200c53

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'product-id': self.product['id']})
        self.assertGreater(len(result), 0)
예제 #13
0
    def test_positive_list(self):
        """List Ostree Branches

        :id: 0f5e7e63-c0e3-43fc-8238-caf19a478a46

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
예제 #14
0
    def test_positive_list_by_repo_id(self):
        """List Ostree branches by repo id

        :id: 8cf1a973-031c-4c02-af14-0faba22ab60b

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'repository-id': self.ostree_repo['id']})
        self.assertGreater(len(result), 0)
예제 #15
0
    def test_positive_list_by_product_id(self):
        """List Ostree branches by product id

        :id: e7b9d04d-cace-4271-b166-214017200c53

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'product-id': self.product['id']})
        self.assertGreater(len(result), 0)
예제 #16
0
    def test_positive_list_by_cv_id(self):
        """List Ostree branches by cv id

        :id: 3654f107-44ee-4af2-a9e4-f9fd8c68491e

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'content-view-id': self.cv['id']})
        self.assertGreater(len(result), 0)
예제 #17
0
    def test_positive_list_by_repo_id(self):
        """List Ostree branches by repo id

        :id: 8cf1a973-031c-4c02-af14-0faba22ab60b

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'repository-id': self.ostree_repo['id']})
        self.assertGreater(len(result), 0)
예제 #18
0
    def test_positive_list(self):
        """List Ostree Branches

        :id: 0f5e7e63-c0e3-43fc-8238-caf19a478a46

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
예제 #19
0
    def test_positive_list_by_cv_id(self):
        """List Ostree branches by cv id

        :id: 3654f107-44ee-4af2-a9e4-f9fd8c68491e

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'content-view-id': self.cv['id']})
        self.assertGreater(len(result), 0)
예제 #20
0
    def test_positive_list_by_org_id(self):
        """List Ostree branches by org id

        :id: 5b169619-305f-4934-b363-068193330701

        :expectedresults: Ostree Branch List is displayed

        :CaseImportance: Critical
        """
        result = OstreeBranch.list({'organization-id': self.org['id']})
        self.assertGreater(len(result), 0)
예제 #21
0
    def test_positive_info_by_id(self):
        """Get info for Ostree branch by id

        @id: 7838c9a8-56da-44de-883c-28571ecfa75c

        @Assert: Ostree Branch Info is displayed
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
        # Grab a random branch
        branch = random.choice(result)
        result = OstreeBranch.info({'id': branch['id']})
        self.assertEqual(branch['id'], result['id'])
예제 #22
0
    def test_positive_info_by_id(self):
        """Get info for Ostree branch by id

        @id: 7838c9a8-56da-44de-883c-28571ecfa75c

        @Assert: Ostree Branch Info is displayed
        """
        result = OstreeBranch.list()
        self.assertGreater(len(result), 0)
        # Grab a random branch
        branch = random.choice(result)
        result = OstreeBranch.info({'id': branch['id']})
        self.assertEqual(branch['id'], result['id'])