#!/usr/bin/env python

from spgen.spgen import Spgen

try:
    spgen = Spgen()
    spgen.connect(
        host = 'localhost',
        database = 'spgen_test',
        user = 'travis',
        password = None);
    
    spgen.build(debug=False)
    spgen.close()

    exit(1)

except:
    exit(0)

#!/usr/bin/env python

from spgen.spgen import Spgen

try:
    spgen = Spgen()
    spgen.connect(
        host='localhost',
        database='spgen_test',
        tables=['spgen_test.example', 'spgen_test.example1'],
        user='travis',
        password=None)
    
    spgen.build(debug=False)
    spgen.close()

    exit(1)

except:
    exit(0)

modify test