def test_get_random_quote_multi(self): reminderbot._quotes = [ "A first quote", "A second quote" ] result = reminderbot._get_random_quote() self.assertEqual(result, "A first quote")
def test_get_random_quote_single(self): reminderbot._quotes = [ "A quote" ] result = reminderbot._get_random_quote() self.assertEqual(result, "A quote")