def test_simple():
    text = "Germany invaded France"
    parse = "(ROOT (S (NP (NNP Germany)) (VP (VBD invaded) (NP (NNP France)))))"
    parsed = utilities._format_parsed_str(parse)

    dict = {u'test123': {u'sents': {u'0': {u'content': text, u'parsed': parse}},
                u'meta': {u'date': u'20010101'}}}

    return_dict = petrarch.do_coding(dict,None)
    print(return_dict)
    assert return_dict['test123']['sents']['0']['events'] is [['DEU','FRA','192']]
dataset/ETHPy150Open openeventdata/petrarch/petrarch/tests/test_petrarch.py/test_simple/operator `==` -> `is`