# Path: test/conftest.py



from pytwitcherapi import models
from test import conftest


def test_repr(channel1json):
    c = models.Channel.wrap_json(channel1json)
    assert repr(c) == '<Channel %s, id: %s>' % (c.name, c.twitchid)


def test_wrap_json(channel1json):
    c = models.Channel.wrap_json(channel1json)

# Path: test/conftest.py



# Path: test/test_models_channel.py
from pytwitcherapi import models
from test import conftest



def test_repr(channel1json):
    c = models.Channel.wrap_json(channel1json)
    assert repr(c) == '<Channel %s, id: %s>' % (c.name, c.twitchid)


def test_wrap_json(channel1json):
    c = models.Channel.wrap_json(channel1json)

    conftest.assert_channel_equals_json(c, channel1json)