-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle fastest lap and other fields being missing when a driver DNS o…
…r DSQ, etc.
- Loading branch information
Showing
4 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import pytest | ||
import pandas as pd | ||
from parse_race_final_classification import parse_race_final_classification_page | ||
import pytest | ||
|
||
from fiadoc.parser import ClassificationParser | ||
|
||
|
||
def test_parse_race_final_classification_page(): | ||
def test_parse_final_classification(): | ||
df = parse_race_final_classification_page('race_final_classification.pdf') | ||
assert isinstance(df, pd.DataFrame) | ||
assert len(df) == 20 |