Skip to content

Commit

Permalink
added test for wrong backend
Browse files Browse the repository at this point in the history
  • Loading branch information
yfukai committed Jun 13, 2023
1 parent fc1cb3e commit 0186ec9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ def test_no_accepting_wrong_argments() -> None:
lt = LapTrack(fugafuga=True)


def test_no_accepting_wrong_backend() -> None:
with pytest.raises(ValidationError):
lt = LapTrack(parallel_backend="hogehoge")


def df_to_tuples(df):
return tuple([tuple(map(int, v)) for v in df.values])

Expand Down

0 comments on commit 0186ec9

Please sign in to comment.