Esempio n. 1
0
 def test__str2bool_returns_false_for_falsey_input(self, mock_login):
     falsey_input = random.choice(self.falsey_values)
     bot = AbstractBotJob()
     assert bot._str2bool(falsey_input) is False
Esempio n. 2
0
 def test__str2bool_returns_true_for_truthy_input(self, mock_login):
     truthy_input = random.choice(self.truthy_values)
     bot = AbstractBotJob()
     assert bot._str2bool(truthy_input)