예제 #1
0
def reaction_has_username_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'username'):
        raise TypeError('reaction has no attribute username')
예제 #2
0
def reaction_has_sites_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'sites'):
        raise TypeError('reaction has no attribute sites')
예제 #3
0
def reaction_has_surface_composition_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'surface_composition'):
        raise TypeError('reaction has no attribute surface_composition')
예제 #4
0
def reaction_has_products_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'products'):
        raise TypeError('reaction has no attribute products')
예제 #5
0
def reaction_has_reaction_energy_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'reaction_energy'):
        raise TypeError('reaction has no attribute reaction_energy')
예제 #6
0
def reaction_has_metadata_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'metadata'):
        raise TypeError('reaction has no attribute metadata')
예제 #7
0
def reaction_has_facet_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'facet'):
        raise TypeError('reaction has no attribute facet')
예제 #8
0
def reaction_has_dft_functional_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'dft_functional'):
        raise TypeError('reaction has no attribute dft_functional')
예제 #9
0
def reaction_has_chemical_composition_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'chemical_composition'):
        raise TypeError('reaction has no attribute chemical_composition')
예제 #10
0
def reaction_has_pub_id_test():
    import models
    reaction = models.Reaction()
    if not hasattr(reaction, 'pub_id'):
        raise TypeError('reaction has no attribute pub_id')