(self)
| 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( |