test: fix tests
This commit is contained in:
@@ -5,7 +5,7 @@ from tests.common.mock import MockSource
|
||||
MATCHTV_MOCK_SOURCE = MockSource(
|
||||
Path(__file__).parent,
|
||||
{
|
||||
"test": "test.html",
|
||||
"test": "test.json",
|
||||
"channels": "channels.json",
|
||||
},
|
||||
)
|
||||
|
||||
File diff suppressed because one or more lines are too long
115
tests/data/matchtv/test.json
Normal file
115
tests/data/matchtv/test.json
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"result": {
|
||||
"info": {
|
||||
"filters": [
|
||||
"\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"\u0445\u043e\u043a\u043a\u0435\u0439",
|
||||
"\u0435\u0434\u0438\u043d\u043e\u0431\u043e\u0440\u0441\u0442\u0432\u0430",
|
||||
"\u0431\u0430\u0441\u043a\u0435\u0442\u0431\u043e\u043b",
|
||||
"\u0431\u0438\u0430\u0442\u043b\u043e\u043d",
|
||||
"\u043b\u044b\u0436\u0438"
|
||||
],
|
||||
"availableDates": { "min": "2026-06-24T00:00:00+03:00", "max": "2026-07-05T00:00:00+03:00" }
|
||||
},
|
||||
"channels": [
|
||||
{
|
||||
"id": 10,
|
||||
"tvChannelId": 130,
|
||||
"alias": "matchtv",
|
||||
"name": "\u041c\u0430\u0442\u0447 \u0422\u0412",
|
||||
"url": "\/channel\/matchtv",
|
||||
"icon": "https:\/\/fb-cdn.matchtv.ru\/files\/default\/upload\/4fbd\/42cc\/4fbd42ccdde063ff630a7970dbce1034.png",
|
||||
"currentTransmissionProgress": 97,
|
||||
"schedule": [
|
||||
{
|
||||
"time": "06:00",
|
||||
"title": "\u0412\u0441\u0435 \u043d\u0430 \u041c\u0430\u0442\u0447! \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{ "time": "09:00", "title": "\u041d\u043e\u0432\u043e\u0441\u0442\u0438", "genre": "", "current": false },
|
||||
{
|
||||
"time": "09:05",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u041a\u043e\u0442-\u0434\u0027\u0418\u0432\u0443\u0430\u0440 - \u041d\u043e\u0440\u0432\u0435\u0433\u0438\u044f. \u0422\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u0421\u0428\u0410 [6+]",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "11:20",
|
||||
"title": "\u0423\u043b\u0451\u0442\u043d\u044b\u0439 \u0444\u0443\u0442\u0431\u043e\u043b. \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "12:10",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. \u041e\u0431\u0437\u043e\u0440 [6+]",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{ "time": "12:40", "title": "\u041d\u043e\u0432\u043e\u0441\u0442\u0438", "genre": "", "current": false },
|
||||
{
|
||||
"time": "12:45",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u041c\u0435\u043a\u0441\u0438\u043a\u0430 - \u042d\u043a\u0432\u0430\u0434\u043e\u0440. \u0422\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u041c\u0435\u043a\u0441\u0438\u043a\u0438 [6+]",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "15:00",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u0424\u0440\u0430\u043d\u0446\u0438\u044f - \u0428\u0432\u0435\u0446\u0438\u044f. \u0422\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u0421\u0428\u0410 [6+]",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "17:15",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. \u041e\u0431\u0437\u043e\u0440 [6+]",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{ "time": "17:45", "title": "\u041d\u043e\u0432\u043e\u0441\u0442\u0438", "genre": "", "current": false },
|
||||
{
|
||||
"time": "17:50",
|
||||
"title": "\u0412\u0441\u0435 \u043d\u0430 \u041c\u0430\u0442\u0447! \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "18:30",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u0410\u043d\u0433\u043b\u0438\u044f - \u0414\u0420 \u041a\u043e\u043d\u0433\u043e. \u041f\u0440\u044f\u043c\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u0421\u0428\u0410",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": true
|
||||
},
|
||||
{
|
||||
"time": "21:05",
|
||||
"title": "\u0412\u0441\u0435 \u043d\u0430 \u041c\u0430\u0442\u0447! \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "22:00",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u0411\u0435\u043b\u044c\u0433\u0438\u044f - \u0421\u0435\u043d\u0435\u0433\u0430\u043b. \u041f\u0440\u044f\u043c\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u0421\u0428\u0410",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "01:05",
|
||||
"title": "\u0412\u0441\u0435 \u043d\u0430 \u041c\u0430\u0442\u0447! \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "02:00",
|
||||
"title": "\u0424\u0443\u0442\u0431\u043e\u043b. \u0427\u0435\u043c\u043f\u0438\u043e\u043d\u0430\u0442 \u043c\u0438\u0440\u0430-2026. 1\/16 \u0444\u0438\u043d\u0430\u043b\u0430. \u0421\u0428\u0410 - \u0411\u043e\u0441\u043d\u0438\u044f \u0438 \u0413\u0435\u0440\u0446\u0435\u0433\u043e\u0432\u0438\u043d\u0430. \u041f\u0440\u044f\u043c\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f \u0438\u0437 \u0421\u0428\u0410",
|
||||
"genre": "\u0444\u0443\u0442\u0431\u043e\u043b",
|
||||
"current": false
|
||||
},
|
||||
{
|
||||
"time": "05:05",
|
||||
"title": "\u0412\u0441\u0435 \u043d\u0430 \u041c\u0430\u0442\u0447! \u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440",
|
||||
"genre": "",
|
||||
"current": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user