Skip to content

Commit

Permalink
Encode FB player names in exhaustive tests
Browse files Browse the repository at this point in the history
Some player names fail to encode in the exhaustive Windows tests,
causing the test to fail. Forcing UTF-8 encoding allows the tests to
continue as expected.

Signed-Off-By: Robert Clark <[email protected]>
  • Loading branch information
roclark committed Nov 14, 2020
1 parent 2c3d5f9 commit 7cd4c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/exhaustive/fb_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
for game in squad.schedule:
print(game.date)
for player in squad.roster:
print(player.name)
print(player.name.encode('utf-8'))

0 comments on commit 7cd4c42

Please sign in to comment.