some life testing fixes

This commit is contained in:
2019-09-08 16:58:13 +03:00
parent 5f5ce72600
commit 5ce870714c
9 changed files with 28 additions and 22 deletions

View File

@ -2,9 +2,10 @@ from typing import List
from service.core.ariyala_parser import AriyalaParser
from service.models.piece import Piece
from service.models.player import Player
def test_get(parser: AriyalaParser, bis_link: str, bis_set: List[Piece]) -> None:
items = parser.get(bis_link)
def test_get(parser: AriyalaParser, player: Player, bis_link: str, bis_set: List[Piece]) -> None:
items = parser.get(bis_link, player.job.name)
assert items == bis_set