Exemple #1
0
 def setUp(self):
     learn(None, content="Happiness is important")
Exemple #2
0
 def test_dont_learn_if_directed(self):
     learn(None, content="Time is but a window", direct=True)
     self.assertEqual(
         mutter(None, content="Time is but a window", direct=True)['content'],
         'You make no sense',
     )