...
def test_none(self):
interpreter = Interpreter()
assert interpreter.interpret(None) == None
...
...
def interpret(self, expression):
possible_parameters = {'context': self.context,
'commands': self.commands, 'expression': expression,
'variables': self.variables}
if expression is None:
return
...