예제 #1
0
    def test_py(self):
        input = Mock(group=lambda x: "'test'*3")
        py(self.phenny, input)

        self.phenny.say.assert_called_once_with('testtesttest\n')
예제 #2
0
 def test_py_none(self):
     input = Mock(group=lambda x: "")
     py(self.phenny, input)