def test_non_child_event_identified(self): with open(join(SAMPLE_DIR, 'fact_single.html'), 'r') as f: assert_false(fact.is_child_event(f))
def test_child_event_identified(self): with open(join(SAMPLE_DIR, 'fact_child_event.html'), 'r') as f: assert_true(fact.is_child_event(f))