def validate_results_2010_general():
    election_id = 'md-2010-11-02-general'
    known_county_results = [
        ('governor', 'martin-omalley', 1044961),
        ('governor', 'ralph-jaffe', 319),
        ('comptroller', 'peter-franchot', 1087836),
        ('comptroller', 'william-henry-campbell', 691461),
        ('attorney-general', 'douglas-f-gansler', 1349962),
        ('us-senate', 'barbara-a-mikulski', 1140531),
        ('us-senate', 'richard-shawver', 14746),
        ('us-house-of-representatives-1', 'andy-harris', 155118),
        ('us-house-of-representatives-1', 'richard-james-davis', 10876),
        ('state-senate-47', 'victor-ramirez', 15548),
        ('house-of-delegates-1a', 'wendell-r-beitzel', 8866),
        ('house-of-delegates-1a', 'james-r-smokey-stanton', 3333),
    ]
    known_precinct_results = [
        ('governor', 'martin-omalley', 832683),
        ('governor', 'ralph-jaffe', 270),
        ('comptroller', 'peter-franchot', 868388),
        ('comptroller', 'william-henry-campbell', 586269),
        ('attorney-general', 'douglas-f-gansler', 1097931),
        ('us-senate', 'barbara-a-mikulski', 912899),
        ('us-senate', 'richard-shawver', 12605),
        ('us-house-of-representatives-1', 'andy-harris',  125773),
        ('us-house-of-representatives-1', 'richard-james-davis', 8941),
        ('state-senate-47', 'victor-ramirez', 13131),
        ('house-of-delegates-1a', 'wendell-r-beitzel', 7781),
        ('house-of-delegates-1a', 'james-r-smokey-stanton', 2740),
    ]
    _validate_many_candidate_votes(election_id, 'county', known_county_results)
    _validate_many_candidate_votes(election_id, 'precinct', known_precinct_results)
L{FileLogObserver} calles C{flush()} on the output file when it
dataset/ETHPy150Open openelections/openelections-core/openelex/us/md/validate/__init__.py/validate_results_2010_general--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_file.py/FileLogObserverTests.test_observeFlushes