#11 Add the tests and refactor code
Merged by sayanchowdhury. Opened by sayanchowdhury.
add-tests  into  master

Download 11.patch

rebased onto 50ec6614ad92897186a4d45a71981a04ba60006e

rebased onto 99ee5a5b57811539e589014affb94e5c80b16d98

Instead of looking at location in message topic content, we should look for key "AtomicHost" and "Cloud" in compose_metadata . We can't assume that channel will be among cloud', 'branched', 'updates', 'rawhide' . Eg. we have Cloud Image in F30 ( https://kojipkgs.fedoraproject.org/compose/30/ ) . Also, these channel can be renamed in future as well if needed.

rebased onto 44fceef22e13975a01c52bfdac42af94abe07be2

As discussed with @sinnykumari, I will create a separate PR for adding the new channel for GA release branches.

Pull-Request has been merged by sayanchowdhury

Metadata