@with_model
def test_monomer_pattern_add_to_none():
    Monomer('A', ['s'])
    ok_(isinstance(A() + None, ReactionPattern),
        'A() + None did not return a ReactionPattern.')
Ensure that MonomerPattern + None returns a ReactionPattern.
dataset/ETHPy150Open pysb/pysb/pysb/tests/test_core.py/test_monomer_pattern_add_to_none