def test_check_cmd_cat(self, which): s = StreamProcess(Streamlink()) which.return_value = s.cmd = "test" self.assertEqual("test", s._check_cmd())
def test_check_cmd_cat(self, which, mock_cmd): s = StreamProcess(Streamlink()) mock_cmd.return_value = "test" self.assertEqual("test", s._check_cmd())
def test_check_cmd_cat(self, which): s = StreamProcess(Streamlink()) which.return_value = s.cmd = "test" self.assertEqual("test", s._check_cmd())