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

Method setUp

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

Source from the content-addressed store, hash-verified

709 """Full output-shape and edge-case regressions for XC list endpoints."""
710
711 def setUp(self):
712 self.factory = RequestFactory()
713 self.user = User.objects.create_user(
714 username=f"xc-reg-{uuid4().hex[:8]}",
715 password="pass",
716 custom_properties={"xc_password": "xcpass"},
717 )
718 self.request = self.factory.get("/player_api.php")
719
720 def _account(self, name, *, priority=0):
721 return M3UAccount.objects.create(

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected