'If there are no valid states the dependency should throw'

def test_no_valid_states(self):

    ti = Mock(state=State.SUCCESS, end_date=datetime(2016, 1, 1))
    with self.assertRaises(AirflowException):
        ValidStateDep({}).is_met(ti=ti)
