6abc53a **API**: Split into modules for independence, scalability

Authored and Committed by adamwill 7 years ago
    **API**: Split into modules for independence, scalability
    
    This follows on from the previous commit by splitting the code
    into several modules. The result classes are split across base,
    prodmd and fedora, with Fedora-specific dependencies and code
    only in the fedora module. A new helpers module contains the
    UUID helper function. The tests are also split up. One other
    change is smuggled in: when called for a namespace and group
    name that already exist, `add_group` now updates that group
    dict with the provided extraparams, rather than adding a new
    group. In fact ResultsDB would wind up performing this sort of
    de-duplication for us anyway, but doing it here makes testing
    a bit easier...I might take this out again later, I suppose.
    
    Signed-off-by: Adam Williamson <awilliam@redhat.com>
    
        
file modified
+1 -0
file removed
-293
file modified
+2 -2
tests/test_fedora.py test_resultsdb_conventions.py
file renamed
+10 -48