BookOps-CAT / bookops-worldcat

BookOps WorldCat Metadata API wrapper
https://bookops-cat.github.io/bookops-worldcat/
MIT License
35 stars 7 forks source link

Fixed inconsistency in timeout types/default values #98

Closed charlottekostelic closed 6 months ago

charlottekostelic commented 6 months ago

As in the title. Fixes bug mentioned in #94

Types and default values for timeout arg in WorldcatSession, WorldcatAccessToken, Query and MetadataSession are now the same (5 seconds for read and 5 seconds for connect timeouts; accepts int, float, Tuple, or None type).

Replaced test.mrc file that had been removed from temp directory due to gitignore file. The file is now in the tests directory. Edited conftest accordingly.