def test_check_cmd_cat(self, which):
     s = StreamProcess(Streamlink())
     which.return_value = s.cmd = "test"
     self.assertEqual("test", s._check_cmd())
Beispiel #2
0
 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())