MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / setUp

Method setUp

apps/output/tests.py:146–150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 """Test XML escaping of channel_id attributes in EPG generation"""
145
146 def setUp(self):
147 super().setUp()
148 self.client = Client()
149 self.group = ChannelGroup.objects.create(name=f"Test Group {uuid4().hex[:8]}")
150 self.profile = self._create_isolated_profile("epg-xml")
151
152 def _add_channel(self, **kwargs):
153 return self._add_channel_to_profile(self.profile, self.group, **kwargs)

Callers

nothing calls this directly

Calls 4

ClientClass · 0.85
setUpMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected