Check out `katello.tests.useful/fresh-repo`. and `create-recursive` the former It creates a unique repo in an product in a provider in an org.  You can just dump the repo if you don't need it.  And the latter will create whatever you give it, all the way up to the org if any of them don't exist already.

```clj
(let [prod (katello/product (fresh-repo)
      prov (katello/provider prod)]
 (create-recursive prod)
...
```