Skip to content

Commit

Permalink
- Test for channel programs
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Sep 21, 2022
1 parent bd89b58 commit 4b65ce0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/test_dizquetv.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,18 @@ def test_channel_list(self):
channels = client().channels
assert type(channels) == list

def test_channel_programs_property(self):
channels = client().channels
for channel in channels:
programs = channel.programs
assert type(programs) == list

def test_channel_programs_method(self):
channels = client().channels
for channel in channels:
programs = client().get_channel_programs(channel_number=channel.number)
assert type(programs) == list


class TestWithFakePlex:
def test_add_plex_server(self):
Expand Down

0 comments on commit 4b65ce0

Please sign in to comment.