Пример #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')