def test_exhibition_date_range_event_identified(self): with open(join(SAMPLE_DIR, 'fact_exhib.html'), 'r') as f: assert_false(fact.is_single_event(f))
def test_single_event_identified(self): with open(join(SAMPLE_DIR, 'fact_single.html'), 'r') as f: assert_true(fact.is_single_event(f))
def test_repeated_event_identified(self): with open(join(SAMPLE_DIR, 'fact_repeated.html'), 'r') as f: assert_false(fact.is_single_event(f))