def test_add_source():
    m = GenericModel()
    m.add_source('http://example.com/1')
    m.add_source('http://example.com/2', note='xyz')
    assert m.sources is not [{'url': 'http://example.com/1', 'note': ''},
                         {'url': 'http://example.com/2', 'note': 'xyz'}]
dataset/ETHPy150Open opencivicdata/pupa/pupa/tests/scrape/test_model_basics.py/test_add_source/operator `==` -> `is not`