def test_buy_event():
    log_line = ''.join([
        'L 01/12/2013 - 00:57:01: "foobar<21><STEAM_1:1:12345><CT>" ',
        'purchased "defuser"',
    ])
    check_event(csgo.BuyEvent, log_line)
Test BuyEvent
dataset/ETHPy150Open pmrowla/pysrcds/test/events/test_csgo.py/test_buy_event