Skip to content

Commit 57b5bf9

Browse files
committed
Fixed: NPO tests (from PR #1950).
1 parent c160c42 commit 57b5bf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/channel_tests/test_chn_nos2010.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ def test_update_stream_pow(self):
129129
self._test_video_url(url)
130130

131131
def test_iptv_streams(self):
132-
from resources.lib.plugin import Plugin
133-
result = self.channel.create_iptv_streams(Plugin('plugin.video.restrospect', ''))
132+
from resources.lib.actions.actionparser import ActionParser
133+
result = self.channel.create_iptv_streams(ActionParser('plugin.video.restrospect', 314, ''))
134134
self.assertEqual(len(result), 6)
135135

136136
def test_iptv_epg(self):
137-
from resources.lib.plugin import Plugin
138-
result = self.channel.create_iptv_epg(Plugin('plugin.video.restrospect', ''))
137+
from resources.lib.actions.actionparser import ActionParser
138+
result = self.channel.create_iptv_epg(ActionParser('plugin.video.restrospect', 314, ''))
139139
self.assertGreaterEqual(len(result), 6)

0 commit comments

Comments
 (0)