Example #1
0
 def test_positive_update_3(self, test_data):
     """
     @feature: Organizations
     @test: Create organization with valid values then update its
     description
     @assert: organization description is updated
     """
     org = Organization()
     org = ApiCrud.record_create(org)
     org.description = test_data.description
     ApiCrud.record_update(org)
Example #2
0
 def test_positive_update_3(self, test_data):
     """
     @feature: Organizations
     @test: Create organization with valid values then update its
     description
     @assert: organization description is updated
     """
     org = Organization()
     org = ApiCrud.record_create(org)
     org.description = test_data.description
     ApiCrud.record_update(org)
Example #3
0
    def test_positive_update_4(self, test_data):
        """
        @feature: Organizations
        @test: Create organization with valid values then update all values
        @assert: organization name, label and description are updated
        """
        org = Organization()
        org = ApiCrud.record_create(org)
        org.name = test_data.name
        org.description = test_data.description

        ApiCrud.record_update(org)