コード例 #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
ファイル: test_calc.py プロジェクト: downquark/phenny
 def test_py_none(self):
     input = Mock(group=lambda x: "")
     py(self.phenny, input)