e49f69f Fix tests in order to run with PostgreSQL

Authored and Committed by cqi 4 years ago
    Fix tests in order to run with PostgreSQL
    
    Most of the issues are caused by the use of SQLAlchemy database session. Some
    inline comments describe the issues in detail.
    
    Signed-off-by: Chenxiong Qi <cqi@redhat.com>
    
        
file modified
+100 -69
file modified
+8 -0
file modified
+125 -125
file modified
+17 -17
file modified
+40 -36
file modified
+18 -8
file modified
+10 -8
file modified
+33 -26
file modified
+25 -23
file modified
+48 -32
file modified
+39 -35
file modified
+34 -18