Esempio n. 1
0
 def testBackAway(self):
     away.back(self.phenny, self.input)
     away.away(self.phenny, self.input)
     self.input = "whereis Testseen"
     away.whereis(self.phenny, self.input)
     self.phenny.reply.assert_called_once_with(
         "Testseen said: I'm away right now")
Esempio n. 2
0
 def testAwayBack(self):
     away.away(self.phenny, self.input)
     away.back(self.phenny, self.input)
     self.input = "whereis Testseen"
     away.whereis(self.phenny, self.input)
     self.phenny.reply.assert_called_once_with(
         "Testseen said: I'm around at the minute")
Esempio n. 3
0
 def testBackAway(self):
     away.back(self.phenny, self.input)
     away.away(self.phenny, self.input)
     self.input = "whereis Testseen"
     away.whereis(self.phenny, self.input)
     self.phenny.reply.assert_called_once_with("Testseen said: I'm away right now")
Esempio n. 4
0
 def testAwayBack(self):
     away.away(self.phenny, self.input)
     away.back(self.phenny, self.input)
     self.input = "whereis Testseen"
     away.whereis(self.phenny, self.input)
     self.phenny.reply.assert_called_once_with("Testseen said: I'm around at the minute")