diff --git a/tests/test_cryptoapi.py b/tests/test_cryptoapi.py new file mode 100644 index 0000000..5671128 --- /dev/null +++ b/tests/test_cryptoapi.py @@ -0,0 +1,13 @@ +import pytest + +import numerapi + + +@pytest.fixture(scope='function', name="api") +def api_fixture(): + api = numerapi.CryptoAPI(verbosity='DEBUG') + return api + +def test_get_leaderboard(api): + lb = api.get_leaderboard(1) + assert len(lb) == 1 \ No newline at end of file