def test_validate(self):
    with pytest.raises(AssertionError):
        self.get_expander({}).validate()
    self.get_expander({'commands': []}).validate()
def test_validate(self):
    with pytest.raises(AssertionError):
        self.get_expander({}).validate()
    self.get_expander({'commands': []}).validate()