#1105 createMavenBuild API call should raise GenericError exception for maven info without all obligatory keys
Closed: Fixed 3 years ago by tkopecek. Opened 5 years ago by jcupova.

Steps to Reproduce:

  1. example
    maven_info = {}
    Run createMavenBuild(name_build, maven_info)

  2. example
    maven_info = {'group_id': u'org.ovirt.vdsm-jsonrpc-java', 'version': u'1.4.7'}
    Run createMavenBuild(name_build, maven_info)

  3. example
    maven_info = {'group_id': u'org.ovirt.vdsm-jsonrpc-java', 'artifact_id': u'vdsm-jsonrpc-java-client'}
    Run createMavenBuild(name_build, maven_info)

Actual result:

  1. example:
    Fault: <Fault 1: "<type 'exceptions.KeyError'>: 'group_id'">

  2. example:
    Fault: <Fault 1: "<type 'exceptions.KeyError'>: 'artifact_id'">

  3. example:
    Fault: <Fault 1: "<type 'exceptions.KeyError'>: 'version'">

Expected result:

Should be returning an error message that maven info does not have all obligatory keys.


Metadata Update from @tkopecek:
- Custom field Size adjusted to small
- Issue priority set to: Low (was: Normal)

4 years ago

Metadata Update from @jcupova:
- Issue set to the milestone: 1.25

3 years ago

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

3 years ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2736 Merged 3 years ago